Create a Virtual Machine
Create a virtual machine in AWS Elastic Compute Cloud (EC2).
- Login in the AWS console.
 - Click the AWS logo located in the left-hand corner of the web page.
 - Using the search box located under AWS services, enter EC2.
 - 
                Click the EC2 search result.
                The EC2 dashboard is opened.
 - Click Instances from the menu located on the left-hand side of the web page.
 - Click Launch Instance.
 - Click AWS Marketplace from the menu located on the left-hand side of the web page.
 - Search and select an OS that supports cloud-init and is supported by your workload manager.
 - Click Continue.
 - 
                Select an Instance Type appropriate for your site's workload based on:
                
- the number of cores
 - the amount of memory
 - storage
 - network performance
 
 - Click Next: Configure Instance Details.
 - 
                Enter the following to configure instance details:
                
 - Click Next: Add Storage.
 - 
                Specify the storage options as per your site's requirements.
                Tip: It is recommended to enable Delete on Termination to delete EBS volumes when the virtual machine is terminated.
 - Click Next: Add Tags.
 - Optional: You can add tags in key-value pairs for the VM per your site's requirements.
 - Click Next: Configure Security Group.
 - 
                Enter the following to assign a security group to the VM:
                
- For Assign a security group, enable Select an existing security group.
 - Select the security group that was automatically created for the cloud scaling VPC by enabling the check box next to its name.
 
 - Click Review and Launch.
 - Review the VM information of the VM and click Launch.
 - 
                Create a new public/private key pair for the VM by entering the following: 
                
 - Click Launch Instances.
 - 
                Click View Instances located at the bottom of the web
                    page.
                All virtual machines that have been created are displayed.
 
