Amazon AWS Concepts

From NovaOrdis Knowledge Base
Revision as of 23:37, 19 April 2023 by Ovidiu (talk | contribs) (→‎Profile)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

External

Internal

AWS Security Concepts

AWS Security Concepts

Region

AWS has data centers in different areas of the world.

Amazon regions:

  • Asia Pacific (Tokyo) ap-northeast-1
  • Asia Pacific (Singapore) ap-southeast-1
  • Asia Pacific (Sydney) ap-southeast-2,
  • EU (Frankfurt) eu-central-1
  • EU (Ireland) eu-west-1
  • South America (Sao Paulo) sa-east-1
  • US East (N. Virginia) us-east-1
  • US West (N. California) us-west-1
  • US West (Oregon) us-west-2

Region Operations

Region Operations

Profile

An AWS named profile is a collection of configuration elements, settings and credentials that apply to an AWS CLI command. For more details see:

AWS CLI | Named AWS Profile

Also see:

Availability Zones

An availability zone is a distinct location within a region engineered to be isolated from failures in other availability zones. Think about it as location: by placing resources in different availability zones you can protect the application from the failure of a single location. Each region provides low-latency network connectivity with other zones within the same region. Example of availability zones within a region: us-west-2b.

Availability zones play an essential role in how subnets are used in a VPC.

An auto-scaling group can span multiple availability zones.

Availability Zone Operations

Amazon Resource Name (ARN)

https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html

Tags

AWS Tags

AWS Management Console

The AWS management console interacts over backend via API calls.

AWS Service

As part of a service configuration, the user may be in the situation to pass an IAM role to the service.

Services:

AWS Types

Example: AWS::EC2::KeyPair::KeyName.

API

The only way to access AWS resources is via API calls: the AWS management console, AWS CLI and custom applications that are using various SDKs all interact via resources in the same way.

Signing API Calls

Signing AWS API Requests

Most API calls are signed for authentication and authorization with a user's API access key, which consists of an access key ID and a secret access key. Some requests do not need to be signed, such as anonymous requests to Amazon S3 and some API operations in AWS Security Token Service (AWS STS). AWS CLI and various SDKs sign requests automatically, provided that they have access to the key. If requests are created "manually", with curl or similar, the users must sign the requests themselves.

The requests are signed because this verifies the identity of the requester and it protects data in transit, as the data is hashed and the hash included in the request, so the data cannot be tampered with. In most cases, a request must reach AWS within five minutes of the time stamp in the request, otherwise AWS denies the request.