Terraform and AWS for Website Hosting

Rodion Chachura, Creator of increaser.org

Play Speed
  • 0.5x
  • 1x (Normal)
  • 1.25x
  • 1.5x
  • 2x
9 Lessons (1h 29m)
    • 1. Introduction.

      1:13
    • 2. Domain and Setup.

      8:01
    • 3. Global Resource: Route

      8:48
    • 4. Reusable Module: Certificate

      10:11
    • 5. Reusable Module: Cloudfront

      13:24
    • 6. Deployment

      4:58
    • 7. Global Resource: CI Repository

      7:27
    • 8. Reusable Module: Frontend Pipeline

      24:32
    • 9. 8

      10:22

About This Class

As software developers, we often face a task of providing infrastructure for a web app we are building. There are tons of services to host the web app and provide CI/CD for it. A lot of them only creates abstraction levels above infrastructure as service providers such as AWS. And in reality, it is much easier to learn how to deal with Terraform and AWS, so that you can use those tools not only for hosting and providing CI/CD but for any DevOps-related task, you may encounter.

In this course, we will buy a domain via Route53. Then we create a certificate via the Certificate Manager. After that, we will use CloudFront to deliver web app to the users. Then we will make CI/CD pipeline via CodePipeline so that every time we make a commit in particular branch web app will be updated. And finally, we will provide all this infrastructure for the stage version of the app. To create all this resource we will use Terraform, it means, we will not click buttons and fill forms to create resources but write actual code.

At this course, you will learn how to create and manage AWS resource via Terraform. And next time you will need to provide infrastructure for a web app it will take you just a few minutes.

Source code:

  1. Domain and Setup
  2. Global Resource: Route
  3. Reusable Module: Certificate
  4. Reusable Module: CloudFront
  5. Deployment
  6. Global Resource: CI Repository
  7. Reusable Module: Frontend Pipeline
  8. Stage Resource: Frontend