Coder Social home page Coder Social logo

Comments (8)

nmoutschen avatar nmoutschen commented on May 26, 2024

Hey @narayandreamer! What error are you seeing when you're using Cloud9?

from aws-serverless-ecommerce-platform.

narayanpromax avatar narayanpromax commented on May 26, 2024

An error occurred (UnauthorizedOperation) when calling the DescribeInstances operation: You are not authorized to perform this operation.

Above is first of series. When i give above then others come, like that I have to give 1 by 1 as per error

from aws-serverless-ecommerce-platform.

nmoutschen avatar nmoutschen commented on May 26, 2024

I'm unsure how this issue is related to this sample. As this is an entirely serverless application, it doesn't launch any EC2 instance, thus you don't need to perform any DescribeInstances call.

from aws-serverless-ecommerce-platform.

narayanpromax avatar narayanpromax commented on May 26, 2024

Yes that i agree. But on dev environment as per your getting started guide if we use AWS Cloud9
screenshot-github com-2021 12 14-18_07_09

from aws-serverless-ecommerce-platform.

nmoutschen avatar nmoutschen commented on May 26, 2024

Ah, I understand now. It looks like you don't have permissions to make API calls from AWS Cloud9. This sample assumes that you're deploying this with a broad set of permissions. Ideally, you would deploy this in a development/playground account for experimentation - where people usually have admin permissions (or close to that).

I cannot help you on this since this is not related to this sample directly. I encourage you to look at https://docs.aws.amazon.com/cloud9/latest/user-guide/credentials.html and/or contact AWS support to help you troubleshoot your Cloud9 environment.

Also, please note you might still encounter issues with Cloud9. There's currently an issue (see #158) as this uses an API Gateway WebSockets API for integration testing, but it doesn't support IP address restrictions - which Cloud9 enforces if you use managed credentials.

from aws-serverless-ecommerce-platform.

narayanpromax avatar narayanpromax commented on May 26, 2024

Ok got it.

According to you which is the best setup that will work for both dev (I use macOS) and prod? As i need to make it running first then change various services and add/remove

from aws-serverless-ecommerce-platform.

nmoutschen avatar nmoutschen commented on May 26, 2024

Personally, I use my Mac directly to make changes to this project, then deploy into a dev AWS account (where I have full admin permissions). Then to deploy to production, I use a CI/CD pipeline that has the right permissions.

That said, while there is a sample pipeline in this project, it's still overly broad (see https://github.com/aws-samples/aws-serverless-ecommerce-platform/blob/main/pipeline/resources/service-pipeline-environment.yaml#L30), but scoped down to a single region.

from aws-serverless-ecommerce-platform.

narayanpromax avatar narayanpromax commented on May 26, 2024

Ok I will give it a try from macOS then

from aws-serverless-ecommerce-platform.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.