I'm trying to setup deployment from github repository via AWS.
I have an issue during these steps:
http://docs.aws.amazon.com/codedeploy/latest/userguide/codedeploy-agent-operations-install.html#codedeploy-agent-operations-install-linux
This command fails:
wget https://bucket-name.s3.amazonaws.com/latest/install
It returns:
[ec2-user@ip-172-31-11-55 ~]$ wget https://bucket-name.s3.amazonaws.com/latest/install
--2017-06-04 10:18:18-- https://bucket-name.s3.amazonaws.com/latest/install
Resolving bucket-name.s3.amazonaws.com (bucket-name.s3.amazonaws.com)... 54.231.114.146
Connecting to bucket-name.s3.amazonaws.com (bucket-name.s3.amazonaws.com)|54.231.114.146|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2017-06-04 10:18:18 ERROR 403: Forbidden.
I've allowed all the ports for inbound/outbound traffic for my instance.
What is wrong?
Yeah, as @smart said, the "bucket-name" should be replace for different name in different region, like aws-codedeploy-us-east-2 for instances in the US East (Ohio) region etc..