Make note of your S3 bucket name. You will use it in the next step.
Go into tmp folder where your source code bundle wordpress-beanstalk.zip is located and copy it to the S3 bucket you’ve created in the previous step.
Make sure to use your bucket name in the command below!
cd /tmp/ aws s3 cp wordpress-beanstalk.zip s3://NAME_OF_YOUR_S3_BUCKET
Go to the AWS Console, from Services choose S3 and select your bucket (e.g. mysourcecodebucket-0123)
You should see wordpress-beanstalk.zip file in the bucket. Click on wordpress-beanstalk.zip object link.
Copy and Save the object URL link into your local notepad. You will use this link when setting up application source code location in the next section.
At this stage, you have created your source code bundle and uploaded it into S3 bucket. In the next section, you will launch your Elastic Beanstalk environment and deploy your code directly on it.