Deployment Flashcards
(13 cards)
Dockerrun.aws.json file
- provides specific configuration settings that instruct the Elastic Beanstalk service on how to run Docker containers
- Amazon EC2 instances running Multicontainer Docker in an Elastic Beanstalk environment require a configuration file named Dockerrun.aws.json
AWS CodeDeploy
- deployment service that automates application deployments to Amazon EC2 instances, on-premises instances, serverless Lambda functions, or Amazon ECS services
- can deploy application content that runs on a server and is stored in Amazon S3 buckets, GitHub repositories, or Bitbucket repositories
CodeDeploy in place deployment
The application on each instance in the deployment group is stopped, the latest application revision is installed, and the new version of the application is started and validated (only for EC2/on-prem, not for lambda)
All AWS Lambda compute platform deployments are ________ deployments
blue/green
AWS CloudFormation StackSets
extends the functionality of stacks by enabling you to create, update, or delete stacks across multiple accounts and regions with a single operation
AWS CloudFormation Change Sets
Change sets allow you to preview how proposed changes to a stack might impact your running resources, including the impact on resource properties and attributes
CloudFormation Transform section for serverless applications
Transform section specifies the version of the AWS Serverless Application Model (AWS SAM) to use. When you specify a transform, you can use AWS SAM syntax to declare resources in your template
What does sam deploy do?
After you develop and test your serverless application locally, you can package and deploy your application by using the sam deploy command
What are lambda layers?
- You can configure your Lambda function to pull in additional code and content in the form of layers
- A layer is a ZIP archive that contains libraries, a custom runtime, or other dependencies
-With layers, you can use libraries in your function without needing to include them in your deployment package
DynamoDB streams
- DynamoDB Streams captures a time-ordered sequence of item-level modifications (such as insert, update, or delete operations) made to the database
- enables various use cases such as event-driven architectures, data replication, analytics, and auditing
What is waitForTaskToken in AWS Step Functions?
- Allows a task to be paused until an external system signals its completion
- Step Functions generates a unique token, which can be retrieved from the context object of the state machine
- An external system (eg. webhook handler) can then reference the token and call the SendTaskSuccess or SendTaskFailure method to signal Step Functions to resume the workflow
Are you billed for time when workflow is paused when you use waitForTaskToken?
When the workflow is in a paused state, you’re not billed for the time the workflow is paused, making it a cost-effective method for awaiting external processes or events
Can you use self-signed certificate if you require HTTPS between your origin and CloudFront?
No, you need either a certificate from ACM or third party certificate