Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: Develop a Terraform Module for MongoDB to run it on AWS ECS #1

Merged
merged 2 commits into from
Jan 15, 2024

Conversation

abdullahkhawer
Copy link
Owner

Changes:

  • Developed a Terraform Module for MongoDB to run it on AWS ECS to create a multi-node MongoDB cluster under AWS Auto Scaling group to launch multiple MongoDB nodes as replicas with AWS ECS service registry using awsvpc as network mode, persistent and encrypted AWS EBS volumes of type gp3, AWS S3 bucket for backups storage along with lifecycle rules for data archival and deletion and User Data script to prepare an AWS EC2 instance by setting up wget, unzip, awscli, Docker, ECS agent, rexray/ebs Docker plugin, Mongosh, MongoDB database tools, MongoDB backup and restore scripts, key file for MongoDB Cluster, custom agent for AWS EBS volumes disk usage monitoring, cronjobs for backup at 03:00 AM daily and disk usage monitoring at every minute, soft rlimits and ulimits and disabling transparent huge pages on it and also creating DNS record in AWS Route 53 hosted zone for it.
  • Also, updated README accordingly.

… create a multi-node MongoDB cluster under AWS Auto Scaling group to launch multiple MongoDB nodes as replicas with AWS ECS service registry using awsvpc as network mode, persistent and encrypted AWS EBS volumes of type gp3, AWS S3 bucket for backups storage along with lifecycle rules for data archival and deletion and User Data script to prepare an AWS EC2 instance by setting up wget, unzip, awscli, Docker, ECS agent, rexray/ebs Docker plugin, MongoDB, Mongosh, MongoDB database tools, MongoDB backup and restore scripts, key file for MongoDB Cluster, custom agent for AWS EBS volumes disk usage monitoring, cronjobs for backup at 03:00 AM daily and disk usage monitoring at every minute, soft rlimits and ulimits and disabling transparent huge pages on it and also creating DNS record in AWS Route 53 hosted zone for it. Also, update README accordingly.
@abdullahkhawer abdullahkhawer merged commit 1ad32f0 into main Jan 15, 2024
@abdullahkhawer abdullahkhawer deleted the code-v1 branch January 23, 2024 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant