Please enable JavaScript.
Coggle requires JavaScript to display documents.
AWS SysOps Administrator Associate, Deployment Policies, image, image,…
-
Deployment Policies
All at once
:check: Deploys the new version to all instances simultaneously.
:check: Fastest method but causes outage.
:!!: Not ideal for mission critical apps
Beanstalk and RDS
:check: deploy Amazon RDS within an Elastic Beanstalk environment
:check: If you terminate EB you lose the Database
:!!: Use case is only for dev environment (Not suitable for prod)
:!!: For Prod, create RDS DB outside EB
Migrate RDS DB from EB to RDS Standalone
:check: Take snapshot from RDS DB
:check: Enable deletion protection
:check: Create new EB env (no DB) and point Apps to the existing RDS DB
:check: Perform Blue/Green Deployment
:check: Terminate the old environment
:check: Delete the CloudFormation Stack
-
re:Invent 2019: Deploy your code, scale, and lower cloud costs using Elastic Beanstalk (DOP326)
Rolling
:check: Update instances one batch at a time
:check: Each batch is taking out of service
:check: Incurs in downtime of 1 batch at a time
:check: Env. may be reduced in capacity depending on the number of instances in each batch.
:!!: IMPORTANT: Not ideal for performance sensitive apps
Rolling w/ additional batches
:check: Similar to rolling, but launches new instances in a batch
:check: Ensures full availability / Instances running at capacity
:check: Two different version will be running at the same time at some point
:note: Great for production envs.
Immutable
:check: Launch new instances in a new ASG
:check: Deploy version update before swapping traffic
:no_entry: Incurs in higher costs since new instances in a new ASG are launched
:smiley: ZERO DOWNTIME
-
-
S3 Baseline Performance
:check: Automatically scales to high request rates
:check: App can reach at least 3500 PUT/COPY/POST/DELETE and 5500 GET/HEAD requests per sec per prefix
-
-
S3 Select & Glacier Select
:check: Retrieve less data using SQL
:check: Can filter by rows & columns
:check: Less network transfer, less CPU cost
-
VPC Endpoints
-
Interface Endpoints
:pencil2: Powered by AWS
:pencil2: PrivateLink
:pencil2: ENI with a private IP
:pencil2: Entry point for traffic
:pencil2: Support many services
Limitations
:black_flag: Regional Service
:black_flag: Cannot create a VPC endpoint to access an S3 in another region
:black_flag: Not extendable. Cannot be accessed from another VPC
:black_flag: DNS resolution is required within a VPC
:black_flag: Unrestricted access to resources i.e All S3 bucket (Policies can be edited)
:!: Endpoint policies do not overwrite resource-specific policies
-
-
:pencil2: By default instances are in a private subnet
:pencil2: To access i.e S3, instance need to go via NAT Gateway or Internet Gateway
:pencil2: Essentially S3 is publicly accessible
:pencil2: VPC endpoint name are as follows: vpce-xyz
-
VPC Peering
-
-
-
DNS Resolution
DNS support enabled, the instance receives an internal and external DNS name
- Allow DNS Resolution from peer VPC
- Allow DNS resolution from local VPC
:red_flag:3. Both sides must enable this configuration
-
Check description tab, next to "State transition reason label"
-
-