Follow this blog - https://www.sccbrasil.com/blog/aws/vpc6-introduction.html to setup VPC and subnets, IGW and Route tables(Route Tables are important make sure you have an entry to the IGW for ::/0).
Post that just deploy and EC2 instance and it should work, do let me know if you get stuck.