---
title: "Discussion on \"How to deploy to EC2 using GitHub Actions with OpenID Connect\" | Hashnode"
description: "Discussion on \"How to deploy to EC2 using GitHub Actions with OpenID Connect\". This article walks you through on how to deploy your application to EC2 using GitHub Actions without IAM user secrets or credentials."
url: "https://hashnode.com/posts/how-to-deploy-to-ec2-using-github-actions-without-iam-user/64a2e23a82a0667e2aea3dd9"
---

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

Discussion

# [How to deploy to EC2 using GitHub Actions with OpenID Connect](https://blog.learnmorecloud.com/how-to-deploy-to-ec2-using-github-actions-without-iam-user?utm_source=hashnode&utm_medium=feed)

This article walks you through on how to deploy your application to EC2 using GitHub Actions without IAM user secrets or credentials.

Jul 3, 2023 · 8 min read · blog.learnmorecloud.com  
Updated Jul 10, 2023  
Read the article

-   [#ec2](https://hashnode.com/tag/ec2)
-   [#wemakedevs](https://hashnode.com/tag/wemakedevs)
-   [#aws](https://hashnode.com/tag/aws)
-   [#aws-cdk](https://hashnode.com/tag/aws-cdk)
-   [#openid-connect](https://hashnode.com/tag/openid-connect)

## Written by

[Vishnu S](https://hashnode.com/@tastyapple)

@tastyapple · Kerala, India

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

Lead Cloud Engineer, AWS Certified DevOps Professional

## Responses 2

Markdown supported · ⌘↵ to post

[Cyril Kunjumon](https://hashnode.com/@cyrilKg)

[Jul 4, 2023](https://hashnode.com/posts/how-to-deploy-to-ec2-using-github-actions-without-iam-user/64a2e23a82a0667e2aea3dd9/comment/64a3af743da98cec080e71b6)

Well researched and well written. Great work!!

[Vishnu S](https://hashnode.com/@tastyapple)

[Jul 8, 2023](https://hashnode.com/posts/how-to-deploy-to-ec2-using-github-actions-without-iam-user/64a2e23a82a0667e2aea3dd9/comment/64a3af743da98cec080e71b6#reply-64a9a763395b682e51ab5f56)

Thank you

[Malavika Manoj](https://hashnode.com/@stayinahead)

[Jul 3, 2023](https://hashnode.com/posts/how-to-deploy-to-ec2-using-github-actions-without-iam-user/64a2e23a82a0667e2aea3dd9/comment/64a2e30efc7c5ae54bc24cc6)

Woahh its really hard to find an article this well written. Thank you for this one. Its indeed really helpful.

[Vishnu S](https://hashnode.com/@tastyapple)

[Jul 3, 2023](https://hashnode.com/posts/how-to-deploy-to-ec2-using-github-actions-without-iam-user/64a2e23a82a0667e2aea3dd9/comment/64a2e30efc7c5ae54bc24cc6#reply-64a2e5340d9d87e57bd71d96)

Thank you.
