ECS Fargate:
AWS ECS (Elastic Container Service) Fargate is a serverless compute engine offered by Amazon Web Services (AWS) for deploying and managing containerized applications. It simplifies the process of running containers at scale without the need to manage the underlying infrastructure. With ECS Fargate, you can focus on your application logic and let AWS handle the provisioning, scaling, and maintenance of the compute resources.
...
By setting up these components in the application layer, you establish a comprehensive environment for your containerized application. The ECS Task Definitions and Services define how your application's containers are configured and deployed. CloudWatch monitors the performance, and NFS provides persistent storage for your database. Finally, IAM Roles and Policies ensure that your application components can interact with other AWS services securely and efficiently.
How do we run terraform script to install knowhow on ECS from scratch:
Terraform Script Repo URL:https://pscode.lioncloud.net/psinnersource/monitor-measure-metrics/speedy-product/knowhow-terraform-scripts/-/tree/main/ecs_fargate
...
Code Block |
---|
git clone https://pscode.lioncloud.net/psinnersource/monitor-measure-metrics/speedy-product/knowhow-terraform-scripts.git cd ecs_fargate/1-Infrastructure terraform init terraform apply -auto-approve |
Step 2 : - Run below command for 2-Platform
Code Block |
---|
cd ../2-Platform ##Replace your SSL_certificate_arn at line 122 in 2-Platform/variable.tf file ##Replace with your actual IP address at line no. 118 terraform init terraform apply -auto-approve |
Step 3 : - Run below command for 3-Application
...