3.3 Ensure Auto-Scaling Launch Configuration for Web-Tier is configured to use an approved Amazon Machine Image

Information

Auto Scaling helps maintain application availability and allows you to scale your Amazon EC2 capacity up or down automatically according to conditions you define.

You can use Auto Scaling to help ensure that you are running your desired number of Amazon EC2 instances or can automatically increase the number of Amazon EC2 instances during demand spikes to maintain performance and decrease capacity during lulls to reduce costs.

These properties can be defined within the Auto-Scaling Group configuration.

Additional properties can be defined through the launch configuration such as:

* Instance Type
* Amazon Machine Image (Pre-configured Operating System Images - allows for O.S Hardening)
* IAM Role
* Security Groups

Your Organization must maintain a list of approved AMIs. Use these when creating Auto-Scaling Groups.
Instances within an Auto-Scaling Group are launched from an Amazon Machine Image (AMI) which itself is defined within the Launch Configuration. AMIs should be configured to follow security best practices as is defined within the CIS Benchmark for Amazon Linux or your other desired operating system.

Solution

Using the Amazon unified command line interface:

* Create new launch configuration for the Web tier using the approved Web tier AMI from your organization's list:

aws autoscaling create-launch-configuration --launch-configuration-name <_new_web_tier_launch_config_> --image-id <_web_tier_ami_> --key-name <_your_key_pair_> --security-groups <web_tier_security_group> --instance-type <desired_instance_type> --iam-instance-profile <_web_tier_instance_profile_>

See Also

https://workbench.cisecurity.org/files/260

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7

Plugin: amazon_aws

Control ID: bd2088d446d2c72b6513c9426e90cc675cc73c48963c1ff5cd97894d1a19a5cc