Static Website in AWS with Public Subnet in custom Amazon Virtual Private Cloud (VPC)

In this post we are going to learn:
1. How to publish static website in AWS
2. How to create custom Amazon Virtual Private Cloud (VPC) and only one public SubNet
3. How to create Amazon Key
4. How to create Security Group
5. How to create Elastic Compute Cloud (EC2)
6. How to install httpd and run
7. How to place simple html file in /var/www/html directory
8. Running the Website by http://IPofServer.

Assuming:
1. You have AWS account as free for one year or paid.
2. Windows or other PC where you can open the AWS Console
3. Internet connectivity
4. Understanding of English
5. and others

Architecture of this Solution



















Logging into your AWS account.

Choose the AWS region from top right corner, in which region you want to publish your website.
I'm selecting N.Virginia
Select the VPC under Networking & Content Delivery domain.













VPC screen will appears with details about VPC.
Click on the Your VPC













Click on the Create VPC



After watching my below video you will able to run one page static website as mentioned below.





For more details see below video:


Note: this post is not design for HA, RD, and Multi AZ's support as consider for initial sharing with help of manual activity. Good to have automated with respective tools.


Note: delete all your AWS resource whatever create in above video else it will be chargeable if not in free. 

Please like and share if you can!!!

20 comments:

  1. Good, simple and sweet for AWS VPC and Public Subnet.

    ReplyDelete
    Replies
    1. terraform-aws-beginner-advanced-level-full-course

      Welcome and in "Terraform Full Course Beginner to Advanced Level" course you are going to learn as mentioned points in details:
      1. Terraform Introduction
      1.1 Terraform Architecture
      2. Terraform Installation In Windows 10
      3. Terraform Pros and Cons
      4. Terraform Provider & AWS Access and Secret Key
      5. Terraform Input Variables
      6. Terraform Resource
      7. Terraform Data Source
      8. Terraform Output Values
      9. Terraform Commands
      9.1 Terraform Commands Add Change and Destroy
      10. Terraform Instance
      11. Terraform VPC, Subnet, IG, NGW, Security Group, and Instance
      12. Terraform VPC, Subnet, IG, NGW, Security Group, Instance and Route 53
      13. Terraform Modules 901 & 902
      13.1. Terraform Modules 903
      14. Terraform S3 Bucket
      15. Terraform State Local and Remote
      16. Terraform Import (Reverse Engineering)
      17. Terraform Multi-Envs and Multi-Region
      18. Terraform 1401 Count
      19. Terraform 1402 For_Each

      Other full courses links:
      Terraform and AWS Full Course Terraform and AWS Full Course
      Python Programming Full Course Python Programming Full Course
      Sonatype Nexus Repository Manager Full Course Sonatype Nexus Repository Manager Full Course
      Apache Maven Full Course Apache Maven Full Course
      Git Full Course Git Full Course

      Delete
  2. Like it as was explain very well about how to create aws vpc and subnet with GUI...keep posting other with more as well..

    ReplyDelete
  3. All points covered into video, it would be really good if you place into textual as well, instead of all in Video..

    1. How to publish static website in AWS
    2. How to create custom Amazon Virtual Private Cloud (VPC) and only one public SubNet
    3. How to create Amazon Key
    4. How to create Security Group
    5. How to create Elastic Compute Cloud (EC2)
    6. How to install httpd and run
    7. How to place simple html file in /var/www/html directory
    8. Running the Website by http://IPofServer.

    But all in all good and described very well, with limitation.

    ReplyDelete
  4. Thank you tutorialbyexample, when can I expect more on AWS with Public/Private Subnet details?

    ReplyDelete
  5. Thanks very good post and clear.

    For online AWS training consult http://www.a2info.com/#training

    ReplyDelete
    Replies
    1. Very good post.

      Please have look for AWS and DevOps Training online or corporate www.a2info.com.

      Delete
  6. I would really like to read some personal experiences like the way, you've explained through the above article. I'm glad for your achievements and would probably like to see much more in the near future. Thanks for share.
    Selenium training in Chennai

    Selenium training in Bangalore

    ReplyDelete
  7. What I was looking for its there in it...

    ReplyDelete
  8. Thanks and worked for me > AWS and you!

    ReplyDelete
  9. Good post about AWS VPC and Subnet, however if any one looking for consultant or AWS IaaC with Terraform then contact us AWS.

    ReplyDelete
  10. Replies
    1. terraform-aws-beginner-advanced-level-full-course

      Welcome and in "Terraform Full Course Beginner to Advanced Level" course you are going to learn as mentioned points in details:
      1. Terraform Introduction
      1.1 Terraform Architecture
      2. Terraform Installation In Windows 10
      3. Terraform Pros and Cons
      4. Terraform Provider & AWS Access and Secret Key
      5. Terraform Input Variables
      6. Terraform Resource
      7. Terraform Data Source
      8. Terraform Output Values
      9. Terraform Commands
      9.1 Terraform Commands Add Change and Destroy
      10. Terraform Instance
      11. Terraform VPC, Subnet, IG, NGW, Security Group, and Instance
      12. Terraform VPC, Subnet, IG, NGW, Security Group, Instance and Route 53
      13. Terraform Modules 901 & 902
      13.1. Terraform Modules 903
      14. Terraform S3 Bucket
      15. Terraform State Local and Remote
      16. Terraform Import (Reverse Engineering)
      17. Terraform Multi-Envs and Multi-Region
      18. Terraform 1401 Count
      19. Terraform 1402 For_Each

      Other full courses links:
      Terraform and AWS Full Course Terraform and AWS Full Course
      Python Programming Full Course Python Programming Full Course
      Sonatype Nexus Repository Manager Full Course Sonatype Nexus Repository Manager Full Course
      Apache Maven Full Course Apache Maven Full Course
      Git Full Course Git Full Course

      Delete
  11. MODERN SERVICE DESK PLATFORM WITH ADVANCED FEATURES
    Click here: AI service desk

    ReplyDelete
  12. Python Programming Full Course Python Programming Full Course
    Sonatype Nexus Repository Manager Full Course Sonatype Nexus Repository Manager Full Course
    Apache Maven Full Course Apache Maven Full Course
    Git Full Course Git Full Course

    ReplyDelete
  13. terraform-aws-beginner-advanced-level-full-course

    Welcome and in "Terraform Full Course Beginner to Advanced Level" course you are going to learn as mentioned points in details:
    1. Terraform Introduction
    1.1 Terraform Architecture
    2. Terraform Installation In Windows 10
    3. Terraform Pros and Cons
    4. Terraform Provider & AWS Access and Secret Key
    5. Terraform Input Variables
    6. Terraform Resource
    7. Terraform Data Source
    8. Terraform Output Values
    9. Terraform Commands
    9.1 Terraform Commands Add Change and Destroy
    10. Terraform Instance
    11. Terraform VPC, Subnet, IG, NGW, Security Group, and Instance
    12. Terraform VPC, Subnet, IG, NGW, Security Group, Instance and Route 53
    13. Terraform Modules 901 & 902
    13.1. Terraform Modules 903
    14. Terraform S3 Bucket
    15. Terraform State Local and Remote
    16. Terraform Import (Reverse Engineering)
    17. Terraform Multi-Envs and Multi-Region
    18. Terraform 1401 Count
    19. Terraform 1402 For_Each

    Other full courses links:
    Terraform and AWS Full Course Terraform and AWS Full Course
    Python Programming Full Course Python Programming Full Course
    Sonatype Nexus Repository Manager Full Course Sonatype Nexus Repository Manager Full Course
    Apache Maven Full Course Apache Maven Full Course
    Git Full Course Git Full Course

    ReplyDelete
  14. To know about automated help desk and service desk with rezolve.ai, click here: https://www.rezolve.ai/home

    ReplyDelete
  15. Apr 2022 free or just Rs 360 only more details

    ReplyDelete
  16. AWS corporate or online training in best price https://cloudnixiass.com

    ReplyDelete
    Replies
    1. AWS Developer certification and training in best price https://cloudnixiass.com

      Delete