Automatically Sync EC2 to S3

Blunt Jackson
2 min readDec 27, 2019

AWS Nomads #3: A quick win — a script to keep your Cloud9 / EC2 working directory in sync with your public S3 bucket.

They are smiling because their EC2 instances are in perfect harmony with their S3 buckets.

First of all, do not use this while working directly on a website that has traffic. You are going to save files, possibly accidentally, and they are going to be dropped into your public bucket instantly, and you are…

--

--

Blunt Jackson

Building web applications since 1992. Crikey, that’s a long time.