DEV Community

Discussion on: Building serverless web crawler with Puppeteer on AWS Fargate

Collapse
 
hoangleitvn profile image
Hoang Le • Edited

For anyone interested in this post, we have updated our repo to remove the build and push the docker image to ECR manually (step #1) by using Docker Image Assets of the AWS CDK framework. So for now, deployment can be done by executing the following commands:

  • First of all, you need to bootstrap AWS environment using cdk bootstrap aws://Account_ID/Region
  • Then execute cdk deploy command (CDK will create the repo, build and push docker image to ECR then deploy other resources)