Questions tagged [aws-codestar]

AWS CodeStar is a cloud-based service for creating, managing, and working with software development projects on AWS.

Documentation: AWS CodeStar User Guide

100 questions
3
votes
0 answers

AWS CodeStar with Springboot, issues with automated WAR deployment

I have a multi module maven project i want do build and deploy with AWS Codestar on EC2. This almost works like a charm now. Local build works, app can be accessed on port 5000. Codestar build is ok, upload is ok, deployment seems to be ok. But i…
muellae
  • 97
  • 1
  • 9
3
votes
1 answer

Can I use CodeStar's deployment infrastructure with an existing CodeCommit repo?

CodeStar seems to consist of two parts a way to easily generate several related resources and a CodeCommit repo for managing a project and a mechanism for automatically deploying CodeCommit code to run on specific AWS services. Is there a way to…
orome
  • 45,163
  • 57
  • 202
  • 418
3
votes
2 answers

Change IAM Role for a Lambda in a CloudFormation template in a CodeStar project?

How can I change the IAM Role for a Lambda function in an CloudFormation template of an AWS CodeStar project? I have created a AWS CodeStar project (web service, Lambda based, Node.js). By default, AWS CodeStar generates the following…
matsev
  • 32,104
  • 16
  • 121
  • 156
2
votes
1 answer

How to access my organisation's GitHub repos with "AWS Connector for GitHub" in CodePipeline?

I'm trying to set up an AWS CodePipeline pipeline, which needs to access a GitHub repository owned by my organisation. For the Source Action I have selected GitHub (version 2) as the provider. When I try to create the connection, I am only able to…
2
votes
1 answer

lambda:GetAlias warning in CloudFormation stack update triggered by CodeStar

I am exploring CodeStar using a basic project created with the Python 3.7 Lambda template following the Serverless Project Tutorial in the AWS CodeStar documentation: https://docs.aws.amazon.com/codestar/latest/userguide/sam-tutorial.html My build…
2
votes
1 answer

How should I resolve the following error message? (111)Connection refused: AH00957: HTTPS: attempt to connect to 127.0.0.1:5001 (127.0.0.1) failed

As mentioned I am receiving the following error message in my apache logs. [Sat Jun 22 12:57:53.746190 2019] [proxy:error] [pid 10299:tid 140435221571328] (111)Connection refused: AH00957: HTTPS: attempt to connect to 127.0.0.1:5001 (127.0.0.1)…
Connor Willoughby
  • 86
  • 1
  • 1
  • 10
2
votes
1 answer

AWS CodePipeline Custom Lambda Function Runs Forever and Never Returns

I have a simple AWS CodePipeline with the standard "Source" -> "Build" -> "Deploy" pipeline stages that work fine and I am trying to add my own custom final pipeline stage that is a single AWS Lambda Function. The problem is my last, custom Lambda…
2
votes
1 answer

How to customize AWS Codestar / Cloudformation template to create specific codebuild project?

How to customize AWS Codestar / Cloudformation template to create specific codebuild project Resources like lambda are fine, SAM > Codestar Project template working ok Problem is when I am trying to add a CodeBuild settings , with specific docker…
2
votes
1 answer

Create A/B testing for Elastic beanstalk

Recently I have created a codestar web services in AWS. This internally uses elastic beanstalk environment with load-balancer, code pipeline, code deploy services for end to end working. What I can do now is make some code changes locally and deploy…
2
votes
1 answer

Deploying an AWS CodeStar project on a different account

AWS CodeStar lets you spin up CodePipelines and CodeCommit repos to support your project. If I want to build a project in CodeStar and then take the resultant package, how can I deploy that package into another account? For example, the basic…
2
votes
1 answer

How do I deploy an AWS EC2 Flask application to HTTPS port 443 with SSL?

I am unable to get my Flask application to run on https://my.domain/, although it does successfully deploy to the regular http://my.domain/ I was able to successfully obtain and test SSL certificates and verify they work on a Jupyter Notebook…
Glenn Strycker
  • 4,816
  • 6
  • 31
  • 51
1
vote
1 answer

Can we share AWS CodeStar connection with multiple CodePipelines?

What is the best practice regarding the number of CodeStar connections? Is it okay to reuse one CodeStar connection with all CodePipelines? Is there any benefit of creating new connection resources with different pipelines?
1
vote
0 answers

Unable to Add CodeStarNotification to CodePipeline with properly configured SNS access policy

Currently facing an issue about creating a notification rule for code pipeline Resource handler returned message: "Invalid request provided: AWS::CodeStarNotifications::NotificationRule" (RequestToken: 4cf585ed-150e-78ee-6c23-d01870c1dbc4,…
Clara
  • 91
  • 2
  • 3
1
vote
1 answer

Cross-account CodeStar connection

I am trying to make use of a CodeStar connection that exists in Account A, in an Account B CodePipeline, however, I am currently getting the following error: Unable to use Connection:…
CJW
  • 710
  • 9
  • 26
1
vote
0 answers

Migrate Spring Boot project from Amazon Linux 1 to Amazon Linux 2

I have a Spring Boot project that is running on an EC2 instance via Elastic Beanstalk. This project was created by AWS CodeStar and they also provided an out-of-the-box project template. You can see the template here:…