How to auto delete and recreate AWS transfer service

Viewed 29

I'm fairly new to AWS and I need to use the Transfer Family for sFTP to an S3 bucket. I'm surprised at how much it costs to keep up 24/7 and that there's no simple way to save money by turning it off when not needed, Amazon says "you must delete the server to stop being billed".

I need this service to run once per week (and eventually once per day) for a window of 1-2 hours at most. What's the best way to approach this? Can I delete it and recreate it using scripts for example?

Thanks for your help!

1 Answers
Related