@@ -11,6 +11,7 @@ Important: this application uses various AWS services and there are costs associ
1111* [ Git CLI] ( https://git-scm.com/book/en/v2/Getting-Started-Installing-Git ) installed
1212* [ NodeJS] ( https://nodejs.org/en/download/ ) (LTS version) installed
1313* [ Serverless Framework CLI] ( https://www.serverless.com/framework/docs/getting-started ) installed
14+ * [ Docker Desktop] ( https://docs.docker.com/desktop/ ) installed
1415
1516## Deployment Instructions
1617
@@ -26,7 +27,7 @@ Important: this application uses various AWS services and there are costs associ
2627 cd serverless-patterns/fargate-eventbridge-serverless
2728 ` ` `
2829
29- 1. Replace the subnet and security group ids in serverless.yml file to your default ids .
30+ 1. Open Docker Desktop and keep it running in the background .
3031
31321. From the command line, use Serverless Framework to deploy the AWS resources for the pattern as specified in the serverless.yml file:
3233
@@ -42,13 +43,15 @@ Important: this application uses various AWS services and there are costs associ
4243
4344# # How it works
4445
45- - The image is constructed directly from the Dockerfile that is provided.
46+ - Make sure you have all the things configured mentioned in Requirements section.
47+ - The image is constructed directly from the Dockerfile that is provided using Docker Desktop.
4648- The image is pushed to Amazon Elastic Container Repository (ECR).
4749- Fargate Task role is created.
4850- Fargate Execution role is created.
4951- The S3 bucket for output is created.
5052- The ECS cluster is created.
5153- The Task Definition is created. This also passes the environment variable to the scheduled task.
54+ - Networking resources are created.
5255- Finally EventBridge Rule is created for running task every 10th minute of the hour.
5356
5457# # Testing
@@ -61,7 +64,6 @@ To test the deployment, you can verify by going to the output S3 bucket and find
6164 }
6265 ` ` `
6366
64-
6567# # Cleanup
6668
67691. Empty the output S3 bucket.
0 commit comments