Skip to content

bharats487/aws-ecs-terraform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS ECS Terraform Project

Terraform AWS Docker

Terraform configuration for deploying containerized applications to AWS ECS (Elastic Container Service). This infrastructure-as-code solution helps automate the provisioning of AWS resources for container orchestration.

🚀 Features

  • Automated AWS ECS Cluster creation
  • Fargate launch type support
  • Load balancer configuration
  • Auto-scaling capabilities
  • Security group management
  • VPC and networking setup
  • CloudWatch logs integration

📋 Prerequisites

  • Terraform installed (version 1.0+)
  • AWS CLI configured with appropriate credentials
  • An AWS account with permissions to create ECS resources
  • Docker for container image building (optional)

📁 Project Structure

  • main.tf - Main Terraform configuration file for ECS resources
  • provider.tf - AWS provider configuration
  • variables.tf - Input variables for the Terraform configuration

🏁 Getting Started

  1. Clone this repository
  2. Initialize Terraform:
    terraform init
  3. Review the planned changes:
    terraform plan
  4. Apply the configuration:
    terraform apply

🧹 Destroying Resources

To destroy all resources created by this Terraform configuration:

terraform destroy

⚠️ Note

Make sure to review and update variable values in variables.tf or through a .tfvars file before applying changes to your infrastructure.

📚 Additional Resources

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

About

Terraform configuration for deploying containerized applications to AWS ECS with infrastructure as code best practices

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors