---
title: "Discussion on \"NextJS Setup CI/CD using Github Action & AWS Codedeploy\" | Hashnode"
description: "Discussion on \"NextJS Setup CI/CD using Github Action & AWS Codedeploy\". Create IAM Role\nCreate Role for EC2\n\nClick on Create Role\n\nSelect EC2\n \n\nClick Next\n\nAdd AmazonS3ReadOnlyAccess Permissions\n \n\nEnter RoleName\\=MyEC2Role\n\n\nCreate Role for Codedeploy\n\nClick on Create Role\n\n\n  Click on next\n\n\n  Click next\n\nRoleName:- M..."
url: "https://hashnode.com/posts/nextjs-setup-cicd-using-github-action-aws-codedeploy/6460a3261c9a7d8de92d2179"
---

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

Discussion

# [NextJS Setup CI/CD using Github Action & AWS Codedeploy](https://anandparmar.hashnode.dev/nextjs-setup-cicd-using-github-action-aws-codedeploy?utm_source=hashnode&utm_medium=feed)

Create IAM Role Create Role for EC2 Click on Create Role Select EC2 Click Next Add AmazonS3ReadOnlyAccess Permissions Enter RoleName\\=MyEC2Role Create Role for Codedeploy Click on Create Role Click on next Click next RoleName:- M...

May 14, 2023 · 4 min read · anandparmar.hashnode.dev  
Read the article

-   [#nextjs](https://hashnode.com/tag/nextjs)
-   [#ci-cd](https://hashnode.com/tag/ci-cd)
-   [#github-actions-1](https://hashnode.com/tag/github-actions-1)
-   [#deployment](https://hashnode.com/tag/deployment)

## Written by

[Anand Parmar](https://hashnode.com/@anandparmar910)

@anandparmar910

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
