Error saying make_bucket failed - Kubernetes AWS

0 votes

My Kubernetes cluster is up and running. I've created the cluster on AWS using kops. I tried executing the following command

aws s3 --endpoint http://localhost mb s3://bucket1 --region=us-east-1

And I ended up getting the following error:

make_bucket failed: s3://bucket1 An error occurred (InvalidAccessKeyId) when calling the CreateBucket operation: The AWS access key Id youprovided does not exist in our records.
Jan 4 in Kubernetes by Ali
• 10,290 points

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

Hey @Ali, what you are doing is partly correct but on kubernetes you cannot just access any port, you'll have to use port forwarding. Something like this:

kubectl port-forward <insert your cloudserver pod name> 8000:80

Or you can use Kubernetes Ingress to route the external traffic to your service. This can be done by specifying the IP address of the hostname configured.

answered Jan 4 by Olivia

Related Questions In Kubernetes

0 votes
1 answer

Error saying "The specified bucket does not exist" in kubernetes

Bucket is created in another region. Looks like ...READ MORE

answered Aug 31, 2018 in Kubernetes by Kalgi
• 35,800 points
0 votes
1 answer

permissions related to AWS ECR

if you add allowContainerRegistry: true, kops will add those permissions ...READ MORE

answered Oct 9, 2018 in Kubernetes by Kalgi
• 35,800 points
0 votes
1 answer
0 votes
2 answers

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.