---
title: "Discussion on \"Deploying a Sample HTML Application to AWS EC2 with CodePipeline, CodeDeploy, and GitHub\" | Hashnode"
description: "Discussion on \"Deploying a Sample HTML Application to AWS EC2 with CodePipeline, CodeDeploy, and GitHub\". Step 1: Create IAM Roles\nCreate two IAM Roles. One for the service AWS EC2 and another for the service AWS CodeDeploy.\nGo to the service “IAM”, select “Roles” in the left panel and click on “Create role” on the right top.\n\nFirst let us create a role ..."
url: "https://hashnode.com/posts/deploying-a-sample-html-application-to-aws-ec2-with-codepipeline-codedeploy-and-github/66ba68f7ba0543ed74031f1f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Deploying a Sample HTML Application to AWS EC2 with CodePipeline, CodeDeploy, and GitHub](https://sandydevopsstuffs.hashnode.dev/deploying-a-sample-html-application-to-aws-ec2-with-codepipeline-codedeploy-and-github?utm_source=hashnode&utm_medium=feed)

Step 1: Create IAM Roles Create two IAM Roles. One for the service AWS EC2 and another for the service AWS CodeDeploy. Go to the service “IAM”, select “Roles” in the left panel and click on “Create role” on the right top. First let us create a role ...

Aug 12, 2024 · 5 min read · sandydevopsstuffs.hashnode.dev  
Read the article

-   [#technologyhub](https://hashnode.com/tag/technologyhub)
-   [#aws](https://hashnode.com/tag/aws)
-   [#aws-codedeploy](https://hashnode.com/tag/aws-codedeploy)
-   [#awscodepipeline](https://hashnode.com/tag/awscodepipeline)
-   [#github](https://hashnode.com/tag/github)
-   [#cloud](https://hashnode.com/tag/cloud)
-   [#cloud-computing](https://hashnode.com/tag/cloud-computing)
-   [#amazon-web-services](https://hashnode.com/tag/amazon-web-services)
-   [#ec2](https://hashnode.com/tag/ec2)
-   [#iam](https://hashnode.com/tag/iam)
-   [#ci-cd](https://hashnode.com/tag/ci-cd)
-   [#cicd-cjy1vtdk2005kjjs17n8couc3](https://hashnode.com/tag/cicd-cjy1vtdk2005kjjs17n8couc3)

## Written by

[SANDESH D MANOCHARYA](https://hashnode.com/@sandydevopsstuffs)

@sandydevopsstuffs

  
[View profile](https://hashnode.com/@sandydevopsstuffs)

DevOps Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
