DEV Community

Rajesh Gunasekaran
Rajesh Gunasekaran

Posted on • Edited on

1

Streamlining Terraform Workflows with Atlantis on Amazon EKS

I’ve been leveraging Atlantis, a powerful Terraform collaboration tool, to deploy infrastructure seamlessly across AWS environments. By integrating it with Amazon Elastic Kubernetes Service (EKS) and GitHub, I’ve streamlined automation workflows while ensuring scalability, security, and reliability.

Core AWS Services:

Amazon EKS: Hosted Atlantis in a scalable and containerized environment.

AWS Elastic Load Balancer (ELB): Routed external traffic securely to the Kubernetes cluster.

IAM Policies: Enabled Atlantis Pods to assume roles for accessing and modifying target AWS environments.

End-to-End Workflow:

  • When a developer creates a PR in GitHub, a webhook triggers the Atlantis service running on Amazon EKS.

  • Atlantis authenticates using AWS IAM, executes Terraform plan/apply, and deploys infrastructure to AWS environments.

  • The process concludes with detailed feedback posted as comments in the GitHub PR.

Image description

Additional AWS Integrations:

  • Set up a Web Application Firewall (WAF) for secure traffic filtering, integrated with Cloudflare.

  • Configured DNS records for routing traffic to AWS ELB.

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more