CLOUD CONCEPT

Security

Security is the protection of systems, data, and operations against unauthorized access, misuse, disruption, and loss.

Cloud Concepts Hub →

What is Security

Security combines technical controls, operational processes, and clearly assigned responsibilities to preserve confidentiality, integrity, and availability. In the cloud, providers secure the underlying infrastructure while customers configure and operate their workloads securely, using capabilities such as identity controls, encryption, network protection, and threat detection.

Security protects the confidentiality, integrity, and availability of information and systems. Confidentiality means only authorized parties can access information; integrity means information and configurations are protected against unauthorized changes; availability means systems remain accessible when needed. Engineers apply security by identifying valuable assets and likely threats, selecting controls, and checking that those controls remain effective as workloads change.

Cloud security follows a shared responsibility model. AWS is responsible for security of the cloud, including physical facilities and the infrastructure supporting its services. Customers are responsible for security in the cloud, including their data, access permissions, and workload configurations. The boundary depends on the service: customers patch the guest operating system on an Amazon EC2 instance, while AWS handles more of the underlying platform maintenance for managed services. Using a managed service reduces some operational duties but does not remove responsibility for access controls or data protection.

Identity is a primary security boundary. Grant people and applications only the permissions needed for their tasks, use temporary credentials where possible, and require multifactor authentication for sensitive human access. For example, an application that reads invoices should receive permission to read the required storage objects, not administrative access to the entire account. Avoid using root credentials for routine work, and review permissions as job roles and application requirements change.

Encryption is an important benefit of cloud security capabilities. Encryption at rest protects stored information, while encryption in transit, commonly implemented with TLS, protects information moving between endpoints. Managed key services can simplify key protection, access control, and auditing. However, encryption does not prevent an authorized identity from reading data, fix excessive permissions, or secure a compromised application. Key permissions and lifecycle decisions also matter: disabling or deleting a required key can make encrypted data unavailable.

Network and application controls provide additional protection. Security groups filter traffic to associated resources, while network ACLs provide subnet-level filtering. Web application firewalls inspect supported HTTP and HTTPS traffic for unwanted requests, and distributed denial-of-service protections help maintain availability during attacks. For a public application, engineers might expose only its load balancer, restrict database access to the application tier, and apply web filtering at the entry point. A private subnet alone does not guarantee that a workload is secure.

Detection and response complement preventive controls. AWS provides capabilities for API activity auditing, threat detection, vulnerability assessment, and configuration evaluation. AWS CloudTrail records supported account activity, Amazon GuardDuty analyzes supported data sources for suspicious behavior, Amazon Inspector assesses supported workloads for vulnerabilities, and AWS Config can evaluate resource configurations against rules. These tools have different purposes: an audit log is not automatically a threat detector, and a finding is not proof that remediation has occurred. Teams must route findings, investigate them, and maintain tested response procedures.

Cloud platforms make security controls easier to deploy consistently through APIs, infrastructure as code, and centralized policies. Provider compliance reports, available through resources such as AWS Artifact, can support customer assurance and audit work, but a provider's certification does not automatically make a customer workload compliant. Customers still need appropriate configurations, evidence, and operating procedures. Security also has trade-offs: detailed logging creates storage and analysis costs, restrictive controls can disrupt legitimate operations, and stronger isolation can increase architectural complexity. Effective security uses layered controls proportional to risk, tests changes, and regularly verifies that protection remains in place.

Key aspects of Security

Effective security combines clear responsibilities, least privilege, encryption, layered protection, continuous monitoring, and verifiable governance.

Confidentiality, integrity, and availability

Protect information from unauthorized disclosure and modification while keeping required systems accessible. Evaluate controls against all three goals, because a control that protects data but prevents legitimate access can still harm the workload.

Shared responsibility

Separate provider infrastructure duties from customer workload duties. Document who manages operating systems, identities, data, and configurations for each service rather than assuming all managed services have the same responsibility boundary.

Least-privilege access

Grant only the actions and resource access needed for a specific task. Prefer temporary credentials, protect human access with multifactor authentication, and remove permissions that are no longer required.

Encryption and key management

Protect stored data and network traffic with appropriate encryption. Control access to encryption keys and plan their lifecycle carefully, because lost or deleted keys can affect data availability.

Defense in depth

Combine identity, network, application, and data controls so that one failure does not expose the entire workload. For example, restrict database connectivity even when application authentication is already enforced.

Continuous detection and response

Collect relevant activity records, assess vulnerabilities, and investigate suspicious behavior. Assign ownership for alerts and test response procedures instead of treating enabled monitoring as a completed security program.

Governance and verifiable controls

Translate organizational requirements into enforceable policies and repeatable configurations. Maintain evidence that controls operate correctly; provider compliance documentation supports this process but does not replace customer validation.

Cloud services for Security

These services address complementary security needs. IAM limits who can access resources, while AWS KMS controls the keys used to protect encrypted data. AWS WAF filters application requests, and AWS Shield helps protect availability against distributed denial-of-service attacks. CloudTrail supplies activity records for auditing and investigation, while GuardDuty identifies potential threats from supported data sources. Engineers connect these capabilities through carefully scoped permissions, protected log storage, alert routing, and tested response workflows. No single service secures an entire workload: customers must configure the controls, review findings, and verify that their applications and operational practices remain secure.

AWS CloudTrail image AWS CloudTrail

CloudTrail records supported AWS account activity for auditing and investigation. Event history provides the last 90 days of management events in each AWS Region; trails or event data stores support broader retention and collection, while data events require appropriate configuration.

Open AWS CloudTrail →
Amazon GuardDuty image Amazon GuardDuty

GuardDuty analyzes supported AWS data sources to detect potential threats such as suspicious API activity and signs of compromised workloads. Findings support investigation and response but do not automatically resolve every detected issue.

Open Amazon GuardDuty →
AWS WAF image AWS WAF

AWS WAF applies rules to HTTP and HTTPS requests reaching supported resources. Engineers use it to filter unwanted traffic, rate-limit requests, and reduce exposure to common web attacks; it does not replace secure application code.

Open AWS WAF →
AWS Shield image AWS Shield

AWS Shield provides distributed denial-of-service protection for AWS resources. Shield Standard is automatically included at no additional charge, while Shield Advanced is a paid subscription offering additional protections and response capabilities for eligible resources.

Open AWS Shield →