Setup the following two files in a .elasticbeanstalk folder
Setup a IAM policy with enough access to run ELB S3 etc etc…
enter your details in the aws_credentials file. [global]
enter your details in the config file. [global]
Make sure you region is set correctly.
Now run the push
Thats staging done now lets setup the production. Go to your elastic beanstalk staging app and select it and then click actions and click clone app, create all the same settings.
After everything is setup you can now push to production as follows.