awslabs / service-workbench-on-aws

A platform that provides researchers with one-click access to collaborative workspace environments operating across teams, universities, and datasets while enabling university IT stakeholders to manage, monitor, and control spending, apply security best practices, and comply with corporate governance.
Apache License 2.0
178 stars 119 forks source link

[Bug] insert summary deployment to Cape Town #1193

Open ebrahim989 opened 1 year ago

ebrahim989 commented 1 year ago

Good Day,

I tried deploying this via the Cape Town Region. I then get this error:

cannot resolve serverless.yml: Variables resolution errored with:

Cannot resolve variable at "custom.settings.awsRegionShortName": Value not found at "self" source,
Cannot resolve variable at "custom.settings.awsRegionShortName": Value not found at "self" source

i edit the .default.yml file and add the af-south-1 region. tried deploying again and get the following error:

"Access denied for operation 'AWS::CloudFront::Distribution: You don't have permission to access the S3 bucket for CloudFront logs: -dev-cpt-sw-logging.s3.amazonaws.com If you're using IAM, you need s3:GetBucketAcl and s3:PutBucketAcl permissions to create a distribution or to update log settings for an existing distribution. In addition, the S3 ACL for the bucket must grant you FULL_CONTROL. (Service: CloudFront, Status Code: 403, Request ID: 561c3bbe-15b6-42fe-bfea-b66aadba1a00)'." (RequestToken: , HandlerErrorCode: AccessDenied)

Please advise how i can resolve ?

The solutions works perfect from the Ireland Region. I believe Cape Town is supported.

aws-tyler commented 1 year ago

Regions should be set in your custom yaml. Please refer to the deployment guide for how you can customize the region for your deployment.

ebrahim989 commented 1 year ago

Hi There,

I updated the region in the yaml file but still getting the same error message.

The EC2 instance I have running in the cape Town region as well, and run the scripts from there.

Are you perhaps able to test your side using the cape Town region?

On Wed, May 10, 2023, 20:07 Tyler Mikev @.***> wrote:

Regions should be set in your custom yaml. Please refer to the deployment guide https://docs.aws.amazon.com/solutions/latest/service-workbench-on-aws/deploy-the-solution.html for how you can customize the region for your deployment.

— Reply to this email directly, view it on GitHub https://github.com/awslabs/service-workbench-on-aws/issues/1193#issuecomment-1542608896, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQ2QLKDMKDTOTOJA5EOCWO3XFPKPXANCNFSM6AAAAAAX4ZHMMA . You are receiving this because you authored the thread.Message ID: @.***>

aws-tyler commented 1 year ago

If you are able to, I would recommend using another region to deploy.

aws-tyler commented 1 year ago

Thank you for reaching out. Your request to check on the Cape Town region has been added to our backlog for research computing solutions. Our team curates these requests for fit with our solutions vision on a regular basis. Please watch this space for new updates. If you require immediate assistance, please reach out to your AWS account team. Please note that security issues should be reported directly to AWS Security at aws-security@amazon.com

ebrahim989 commented 1 year ago

I deployed the EC2 in Ireland region and set the yaml to Cape Town, but same errors popping up.

Would appreciate your support on this. We are needing to deploy for a University in SA.