Continuous deployment in AWS environment

I have installed a Ghost blog in AWS EC2. Gatsby is deployed to S3 bucket. Question is; how can I get the S3 to automatically update when new content is added? I tried to search the web with slim results.

http://18.220.22.226/

http://miika-rgf-ghost.s3-website-us-west-2.amazonaws.com/

Ghost has support for outgoing webhooks. You can use them to trigger your build system to rebuild and upload your gatsby site to S3. The Netlify integration is a good place to start:

1 Like

Thank you for your reply. I went through the Netlify instructions, but I would like to keep my whole project inside AWS products, ie deploy the site in AWS as well.

I can’t give you an exact list of steps, because I don’t know what your build pipeline looks like :wink: I pointed you to the Netlify integration because it gives you a starting place to integrate with S3. In the end, the webhook you add to ghost should trigger a new build of your site and upload it to S3

1 Like

After playing with the pipeline for two days it seems that going with Netlify at this point might be the best option.

1 Like