Skip to content

Releases: abdullahkhawer/mongodb-cluster-on-aws-ecs

Release: v1.1.0

23 Jan 16:31
5d3cf26
Compare
Choose a tag to compare

Changes:

  • Add mongodb.key in .gitignore file.
  • Update code to:
    • Set the threshold for CPU, memory, and Disk space utilization to 85%.
    • Create locals to define AWS VPC private subnets along with their length.
    • Select the correct AWS VPC private subnet ID even if there are fewer subnets than the number of AWS EC2 instances.
    • Select the correct private AWS Route 53 hosted zone if both public and private exist with the same name/domain.
    • Set correct AWS ECS cluster name under dimensions for AWS CloudWatch metric alarms.
    • Fix Terraform code with respect to the AWS Terraform provider v4.65.0.
    • Update backups AWS S3 bucket's lifecycle policy rules to set a rule for INTELLIGENT_TIERING.
    • Add code to wait for the first AWS EC2 instance to be running and complete status checks.
  • Refactor the whole Terraform code.
  • Update the README accordingly.
  • Prepare Release for v1.1.0.

Release v1.0.0

15 Jan 20:25
1ad32f0
Compare
Choose a tag to compare

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.