- We'll be using the AWS CLI in this recipe, a command-line utility written in Python, that makes interacting with the AWS API easy. We'll assume you have an AWS account and have installed and configured the AWS CLI application. Consult the AWS documentation (https://docs.aws.amazon.com/cli/latest/index.html#) for installation instructions.
- Create a launch configuration. Launch configurations are templates that our Auto Scaling Groups will use for creating new EC2 instances. They contain information such as the instance type and size that we want to use when creating new instances. Give your launch configuration a unique name–in our case, we'll simply call it users-service-launch-configuration:
$ aws create-launch-configuration ...