AWS Auto Scaling lifecycle hooks

Auto Scaling lifecycle hooks enable you to perform custom actions as Auto Scaling launches or terminates instances. For example, you could install or configure software on newly launched instances, or download log files from an instance before it terminates. After you add lifecycle hooks to your Auto Scaling group, they work as follows: Auto Scaling…

AWS Cloudformation custom resource type

Custom resources enable you to write custom provisioning logic in templates that AWS CloudFormation runs anytime you create, update (if you changed the custom resource), or delete stacks. For example, you might want to include resources that aren’t available as AWS CloudFormation resource types. You can include those resources by using custom resources. That way…

AWS CodeDeploy deployment configuration types

When the Deployment Group of AWS CodeDeploy is created, users need to configure the rules that determine how fast an application will be deployed which is also called the “Deployment Configuration“: CodeDeployDefault.LambdaAllAtOnce (Shifts all traffic to the new Lambda functions at once) CodeDeployDefault.LambdaLinear10PercentEvery10Minutes (Shifts 10 percent of traffic every 10 minutes) CodeDeployDefault.LambdaCanary10Percent5Minutes (Shifts 10 percent…

AWS Elastic Beanstalk container command

You can use the container_commands key to execute commands that affect your application source code. Container commands run after the application and web server have been set up and the application version archive has been extracted, but before the application version is deployed. Non-container commands and other customization operations are performed prior to the application source code…

AWS Auto Scaling suspend AddToLoadBalancer

If you suspend AddToLoadBalancer, Auto Scaling launches the instances but does not add them to the load balancer or target group. If you resume the AddToLoadBalancer process, Auto Scaling resumes adding instances to the load balancer or target group when they are launched. However, Auto Scaling does not add the instances that were launched while this process…

AWS Auto Scaling Terminate policy

The default termination policy is designed to help ensure that your network architecture spans Availability Zones evenly. When using the default termination policy, Auto Scaling selects an instance to terminate as follows: Auto Scaling determines whether there are instances in multiple Availability Zones. If so, it selects the Availability Zone with the most instances and…

AWS Security Token Service (STS)

The AWS Security Token Service (STS) is a web service that enables you to request temporary, limited-privilege credentials for AWS Identity and Access Management (IAM) users or for users that you authenticate (federated users). The token can then be used to grant access to the objects in S3. You can then provides access to the…

AWS CodeBuild build spec files

AWS CodeBuild service has used buildspec files as a collection of build commands and related settings. Its details can be found in https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html By default, the build spec file is named as buildspec.yml. However, this file name can be overridden by other names, which can be done by AWS CLI