Login using Social Account
Login using your credentials
Taking you to the next exercise in seconds...
Stay here Next Exercise
Want to create exercises like this yourself? Click here.
Error
Hi Team,
Getting the below error while creating the .travis.yml file and pushed to the git main repo. Could you please suggest how to make it resolve .
Hi,
The error says access is denied. Please make sure to crete all the necessary keys/permissions for S3. Feel free to review the videos for eteer comprehension.
Thanks.
What I am suspecting is while creating the IAM user while I have tried to give the policies, I am unable to find the "AWSelasticBeanStalkFullAcess".
where I have chosen AdministratorAccess-AWSElasticBeanStalk. Could you advise that may cause this access issue ?
AWS seems to retire that poliy(https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo.iam.managed-policies.html).
Please try with `AdministratorAccess-AWSElasticBeanstalk`(https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo.iam.policies.access-tags.html).
Yes, with that we need to give the S3 full access also otherwise it will give the same error.
We need to make the slide updated with the correct policies to choose while creating IAM user in AWS.
You have to be patient with AWS to get everything including user access to get activated.
here is the code used in .travis.yml. What could be the reason for NOT being able to deploy this on s3?
language: generic
services: - docker
deploy: provider: elasticbeanstalk region: ap-south-1 app: "myfirstapp" env: "Myfirstapp-env"
access_key_id: $AWS_ACCESS_KEYS secret_access_key: $AWS_SECRET_KEYS
bucket_name: "myfirstapp-bucket"
bucket_path: "docker"
on: branch: main
screenshot:
Resolved AWS access issue...Pls ignore
1 Getting started with Docker
2 Docker File, Image, Container
3 Docker Workflow
4 Docker Advantages
5 Installing Docker
6 Creating Static Web App
7 Sign Up to Docker Hub
8 Dockerize the App
9 Docker Compose
10 Push Image to DockerHub
11 Install Git on Windows
12 GitHub
13 AWS Intro
14 Sign Up to AWS and Billing
15 Creating Sample App on Elastic Beanstalk
16 Creating IAM Credentials
17 Creating S3 Bucket
18 Travis Intro
19 Sign Up to Travis
20 Travis Workflow
21 Travis File
22 Travis Demo I
23 Travis Demo II
24 Deploy to Test and Production
25 Buying Domain Name
26 Domain name with AWS Route 53
27 Deleting AWS Services
Please login to comment
8 Comments
Hi Team,
Getting the below error while creating the .travis.yml file and pushed to the git main repo. Could you please suggest how to make it resolve .
Hi,
The error says access is denied. Please make sure to crete all the necessary keys/permissions for S3. Feel free to review the videos for eteer comprehension.
Thanks.
Upvote ShareWhat I am suspecting is while creating the IAM user while I have tried to give the policies, I am unable to find the "AWSelasticBeanStalkFullAcess".
where I have chosen AdministratorAccess-AWSElasticBeanStalk. Could you advise that may cause this access issue ?
Hi,
AWS seems to retire that poliy(https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo.iam.managed-policies.html).
Please try with `AdministratorAccess-AWSElasticBeanstalk`(https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo.iam.policies.access-tags.html).
Thanks.
Upvote ShareYes, with that we need to give the S3 full access also otherwise it will give the same error.
We need to make the slide updated with the correct policies to choose while creating IAM user in AWS.
1 Upvote ShareYou have to be patient with AWS to get everything including user access to get activated.
Upvote Sharehere is the code used in .travis.yml. What could be the reason for NOT being able to deploy this on s3?
language: generic
services:
- docker
deploy:
provider: elasticbeanstalk
region: ap-south-1
app: "myfirstapp"
env: "Myfirstapp-env"
access_key_id: $AWS_ACCESS_KEYS
secret_access_key: $AWS_SECRET_KEYS
bucket_name: "myfirstapp-bucket"
bucket_path: "docker"
on:
branch: main
screenshot:
Resolved AWS access issue...Pls ignore
Upvote Share