aws ec2 describe-images
aws ec2 run-instances --image-id <AMI_ID> --instance-type <INSTANCE_TYPE>
aws ec2 create-security-group --group-name <GROUP_NAME> --description <DESCRIPTION>
aws ec2 authorize-security-group-ingress --group-id <GROUP_ID> --protocol <PROTOCOL> --port <PORT> --cidr <CIDR>
aws ec2 authorize-security-group-egress --group-id <GROUP_ID> --protocol <PROTOCOL> --port <PORT> --cidr <CIDR>
aws s3api create-bucket --bucket <BUCKET_NAME> --region <REGION>
aws cloudtrail create-trail --name <TRAIL_NAME> --s3-bucket-name <BUCKET_NAME>
aws cloudtrail start-logging --name <TRAIL_NAME>
create_snapshot
method to create a snapshot of the volume.copy_snapshot
method to copy the snapshot and enable encryption during the copy process.create_volume
method to create a new encrypted volume from the snapshot.create_flow_logs
method to enable them.put_configuration_recorder
and put_delivery_channel
methods to enable it.