AWS LAB – Public and Private subnets and the gateways that enable them + can't connect to EC2

To whom it needs to be addressed,

I’m learning AWS solutions architect and I’m trying to pass the first lab exercise. This is the error I get in the AWS layout while creating my VPC, and I don’t have the option to set up region:

Failed to perform operation: DescribeAvailabilityZones

You are not authorized to perform this operation. User: arn:aws:iam::640526190753:user/kk_labs_user_162086 is not authorized to perform: ec2:DescribeAvailabilityZones with an explicit deny in a service control policy

Can someone please help me?

Are you meant to be a creating a VPC in the Stockholm region?

No, thanks, that solved the issue.

I have a new issue, after I passed all the stepswith green checkmark, at the last one (17th) I still can’t connect to EC2, even all the steps before were right, and I even double-check to go everything like it’s told in hint tab.

This is what I get:

Hi , Look for the file named “ec2-user.pem” in the current working directory . If present , check the cloudshell-user has permission to read the same file .

ls -l ec2-user.pem

I tried and it says this:

ls -l ec2-user.pem
ls: cannot access ‘ec2-user.pem’: No such file or directory

I also tried

find / -name “ec2-user.pem” -type f

But it says permission denied for tons of things…

Have you uploaded your ec2 key pair to cloud shell? do you have copy of ec2 keys generated at the launch time ? if so upload them to cloud shell .

No I didn’t uploaded the aws key pair, and I don’t have a copy of it. Where and how do I upload it in CS, never done that before.