Deploy to AWS S3 / Purge CDN with CloudFront
With Buddy, you can deploy data to the AWS Simple Storage Service using a dedicated AWS S3 Transfer action. You can also add the CloudFront action to clear the cache upon the deployment.
Image loading...
Tip
If you are new to Buddy, check out our workflow guides that will tell you how to build, test and deploy your type of application.
Hint
📚 Learn more about Amazon S3 action features, integrations and alternatives.
Configure Amazon S3 deployment
Warning
Before you add the action, make sure that your AWS user has proper S3 permissions assigned and full programmatic access to AWS.
- Look up AWS on the action list and click AWS S3 Transfer to add it to the pipeline:
Image loading...
- The action has five configuration tabs:
- Transfer – here you define the source path, deployment flags and content encoding, tag objects, and files to ignore
- Target – here you select the AWS integration and the bucket to which you want to deploy
- Variables – here you can view your AWS integration variables, and create your own if required
- Conditions – here you configure the trigger conditions for which the action will run
- Options – here you define the action's name and behavior on failure and timeout
Image loading...
When ready, click Add this action to finish configuration.
(Optional) You can also add the CloudFront action at the end of the pipeline to automatically purge your CloudFront's cache on every deployment:
Image loading...
Success
Congratulations – you have just automated your deployment to AWS S3! 🥳
Last modified on Sep 24, 2024