Ensure that your AWS cloud applications are not deployed within the default Virtual Private Cloud (VPC) in order to follow AWS cloud security best practices. A default Virtual Private Cloud is a logically isolated virtual network created automatically for your AWS account the first time you provision Amazon EC2 resources. A default VPC is suitable for getting started quickly, however, when you deploy complex applications and use multi-tier architectures, you may need to keep parts of your network private or to customize the network model, therefore it is recommended to create a non-default VPC that suits your network requirements.
A default Virtual Private Cloud (VPC) is designed in such a way that you can quickly deploy AWS resources and not have to think about the underlying network. The default VPC comes with a default configuration that would not meet all AWS cloud security best practices, hence a non-default VPC should not be used for advanced applications.
Audit
To determine if the default Virtual Private Cloud (VPC) is being used within your AWS account, perform the following actions:
Remediation / Resolution
To create a non-default Virtual Private Cloud (VPC) network and migrate your cloud applications to it, perform the following actions:
References
- AWS Documentation
- Default VPC and Default Subnets
- Getting Started with IPv4 for Amazon VPC
- Default VPC and Default Subnets
- Amazon EC2 and Amazon Virtual Private Cloud
- CIS Amazon Web Services Foundations
- AWS Command Line Interface (CLI) Documentation
- ec2
- describe-vpcs
- create-vpc
- create-internet-gateway
- attach-internet-gateway
- create-subnet
- create-route-table
- associate-route-table
- create-route