you should try using aws ec2 create-image, aws ec2 describe-images, and aws ec2 deregister-imageu ld together. other than that anything you can do on a web console can be done through cli too.
AWS lambda would be a right solution to automate the backup of your ami and clean up. You can schedule the lambda function (basically a python code) to run periodically. This way you don't need to have your ec2 running all the time. An example here http://powerupcloud.azurewebsites.net/2016/10/15/serverless-automate-ami-creation-and-deletion-using-aws-lambda/
You can use https://github.com/alestic/ec2-consistent-snapshot and run it in a cron job. It supports various filesystems and has support for ensuring database snapshots are consistent. If you don't have a database in your instance, it will still ensure consistent snapshots by freezing the filesystem.
There's documentation on how to configure a ...READ MORE
I think what you can do is ...READ MORE
Here are the steps that you can ...READ MORE
You should be able to set your ...READ MORE
Check if the FTP ports are enabled ...READ MORE
To connect to EC2 instance using Filezilla, ...READ MORE
Follow the guide given here in aws ...READ MORE
I had a similar problem with trying ...READ MORE
To solve the keypair error I just ...READ MORE
You just need to add .+ after ...READ MORE