Deployment Flashcards
Elastic Beanstalk
Developer centric view of deploying an app. Still have full control over the configuration of components.
Is great to Replatform from on-premise to cloud
Beanstalk environment
Collection of AWS resources running an application
Web server environment serves HTTP requests.
Worker environment backend that pulls tasks from SQS
Elastic Beanstalk
Managed Platform Updates
Automatically provide fixes, software updates, and new features during a scheduled maintenance window. Your application remains in service during the update process.
CodeDeploy to EC2
Will do in place update to your fleet of EC2 instances. Use hooks to verify the deployment after each phase.
CodeDeploy to AutoScaling Groups
- In place updates: Updates curren existing instances
- Blue/Green deployment: A new ASG is created and you choose how long to keep the old instances (must use ELB)
CodeDeploy to Lambda
Uses traffic shifting feature with lambda alias. Pre and post traffic hooks (implemented in lambda) to validate deployment.
SAM framework natively uses CodeDeploy
CodeDeploy to ECS
Support Blue/Green and Canary deployments. A new task set is created and traffic is re-routed.
CloudFormation retaining resources
Specify Retain DeletionPolicy to preserve resources or Snapshot to maintain copy of data in case of CloudFormation delete
CloudFormatio Custom Resources
Invoke a Lambda function to do anything:
* Create On Premise resources
* Fetch an AMI
CloudFormation StackSets
Create, update, or delete stacks across accounts and regions. Automatic Deployment to deploy in accounts of an Organization.
AWS Service Catalog
Self-service portal to launch a set of authorized products pre-defined by admins. Underlying CloudFormation templates.
AWS Service Catalog Constraints
- Template constraints restrict the configuration parameters that are available for the user when launching the product
- Launch constraints allow you to specify a role for a product in a portfolio. This role is used to provision the resources at launch, so you can restrict user permissions without impacting users’ ability to provision products from the catalog.
AWS Service Catalog Service Actions
Enable end users to perform operational tasks, troubleshoot issues, run approved commands, without needing to grant end users full access to AWS. You use Systems Manager documents to define service actions.
Serverles Application Model (SAM)
Framework for developing and deploying serverless applications
* All the configuration is YAML code
* Run resources locally
AWS Cloud Development Kit (CDK)
Define your infrastructure using a familiar language, then the code is compiled into a CloudFormation template
AWS Systems Manager
Manage EC2 and on premise at scale. Need to install SSM agent.
AWS Systems Manager Run Command
Execute a document or run a command across multiple instances. No need for SSH.
System Manager Patch Manager
- Define a patch baseline
- Define groups with tag Patch Group
- Define maintenance windows
- Add AWS-RunPatchBaseline Run Command
- Define rate control
Systems Manager Session Manager
Start a secure shell through AWS console, CLI or SDK without SSH access or bastion. Logs can be sent to S3 or CloudWatch
Systems Manager OpsCenter
Resolve operational issues (OpsItems), provides automation runbooks. EventBridge or CloudWatch can create OpsItems.
AWS CloudMap
Fully managed resource discovery service. Creates a map of the backend services, integrated with health checks
A/B testing
Compares the performance of two different versions simultaneously
AWS App Runner
Provides a fast, simple, and cost-effective way to deploy from source code or a container image directly to a scalable and secure web application
AWS Proton
- Automated infrastructure as code provisioning and deployment of serverless and container-based applications
- Standardized infrastructure
- Deployments integrated with CI/CD
AWS Amplify
Provides frontend libraries, UI components, backend building (authentication, APIs and storage) and real time data syncronization