Disable EC2 Classic from my account and move to VPC

0

Hi there,

My account was created over 9 years ago so it still has access to EC2 Classic. I have no resources or instances running.

I would like to move completely to VPC and disable EC2 Classic on my account. Is there a way to do this?

Currently when I run:

aws ec2 create-default-vpc

I get the error:

An error occurred (OperationNotPermitted) when calling the CreateDefaultVpc operation: Accounts on the EC2-Classic platform cannot create a default VPC.

I have read documentation on how to migrate EC2 Classic instances to VPC but that's not what I'm looking for (I have no EC2 Classic instances). I just want my account to work as if I had created it after VPC was introduced on AWS.

This thread mentions a similar issue: https://forums.aws.amazon.com/thread.jspa?threadID=274112

However it looks like an Amazon employee had to manually change this person's account? I've reached out to support but they don't seem to know what to do. Is it possible to migrate my account off EC2 Classic and only use VPC?

Edited by: josh_v on Jun 10, 2020 12:22 PM

josh_v
asked 4 years ago1197 views
1 Answer
0

Hello,

Hope you are doing good! You can find the process to remove EC2-Classic from your account here: https://aws.amazon.com/vpc/faqs/#Default_VPCs.

Quoting the question and the solution from the link above:
Q. I really want a default VPC for my existing EC2 account. Is that possible?

Yes, however, we can only enable an existing account for a default VPC if you have no EC2-Classic resources for that account in that region. Additionally, you must terminate all non-VPC provisioned Elastic Load Balancers, Amazon RDS, Amazon ElastiCache, and Amazon Redshift resources in that region. After your account has been configured for a default VPC, all future resource launches, including instances launched via Auto Scaling, will be placed in your default VPC. To request your existing account be setup with a default VPC, please go to Account and Billing -> Service: Account -> Category: Convert EC2 Classic to VPC and raise a request. We will review your request, your existing AWS services and EC2-Classic presence and guide you through the next steps.

Have a good rest of the day!

Best,
Akshay

AWS
answered 4 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions