Questions tagged [awsdeploy]

28 questions
3
votes
1 answer

aws ApiGateway deploy to specific stage

I'm using this configuration to deploy to the 'Prod' Stage: "ApiGatewayApi": { "Type": "AWS::Serverless::Api", "Properties": { "StageName": "Prod", "Name" : "MainGateway", ... I want to deploy different code to the…
3
votes
1 answer

Does AWS Lambda use S3 during invocation or only during deployment?

I'm well aware of the lambda function deployment package size limit is 50 MB(in case of compressed .zip/.jar) with a direct upload and 250 MB limit (uncompressed) via upload from S3. What I'm not clear is how lambda deploys the package from S3? Is…
Rex
  • 521
  • 3
  • 8
3
votes
2 answers

Pipeline never finishes deploying AWS ECS Fargate Task through codepipeline

I set up a Fargate ecs service on AWS with multiple target groups and an application load balancer. It runs just as expected. Then I tried to set up a pipeline using this…
1
vote
1 answer

How to deploy next.js application to AWS, What is the entry file for the server?

Am using nextjs project. From the below image, you can find my folder structure. In my local machine, I can complete the npm run build and npm run start. the build creation and page display are done successfully. when am trying to host the project…
Ajith Arasu
  • 79
  • 10
1
vote
0 answers

Automation for SQL schema changes on AWD RDS

We are using SQL DB for our application and these both are hosted on AWS. We have already setup CI/CD pipeline for application as per environment. So, my question is how can we automate SQL schema changes using AWS? I know there are lot of third…
XamDev
  • 3,377
  • 12
  • 58
  • 97
1
vote
1 answer

Python libraries in Dockerfile for Node.js Project

I am trying to upload my Node.js project to Docker Platform on AWS Elastic Beanstalk. I am running into problems adding python libraries in Dockerfile. With this file deployment is fine: FROM node:8.16 WORKDIR /opt/app COPY package.json…
goryef
  • 1,337
  • 3
  • 22
  • 37
1
vote
1 answer

AWS throws An Unknown error occurred while deploying API Gateway

In AWS API Gateway I am trying to deploy API to new stage, and im getting error "An unknown error occurred". I am assuming it most likely because of permission. But i have API Gateway administrator permissions. How do find out exactly which…
LP13
  • 30,567
  • 53
  • 217
  • 400
1
vote
1 answer

CAPABILITY_NAMED_IAM using cloud9

I am trying to do all my dev work using cloud9 template for serverless apps It complains that i don't have CAPABILITY_NAMED_IAM due to the fact that I am creating a role. How do I edit cloud9 deploy defaults to include CAPABILITY_NAMED_IAM?
1
vote
1 answer

Error Creating an AWS Elastic Beanstalk Environment using AWS Toolkit (.Net)

Error from command prompt: 4 Aug 2017 10:36:18,864 DEBUG AwsAdminTool.CmdLineRunner ....creating application 'smsweb' 24 Aug 2017 10:36:19,419 DEBUG AwsAdminTool.CmdLineRunner ....creating environment 'smsweb-test-roof' with application version…
francisfai
  • 106
  • 1
  • 5
1
vote
1 answer

Deploy on aws failed, because of AWSEBLoadBalancer doesn't exist

I have a app deployed on aws, which works fine for months, and the last time I deployed it is a month ago, and I have no trouble at that time. But when I did my deploy process yesterday, I got the error "AWSEBLoadBalancer doesn't exist". But in my…
lei liu
  • 2,735
  • 1
  • 16
  • 18
1
vote
1 answer

Visual Studio "Publish to AWS..." - when does Web.config updates for environment variables happen?

I'm attempting to replicate what Visual Studio does in its "Publish to AWS..." dialog via command line tools. I'm to the point where I'm calling "awsdeploy.exe" and passing it a configuration file. I've been playing with the sample that gets…
0
votes
1 answer

AWS CDK - using CodePipeline my pipeline bounces back and forth between Build stage and UpdatePipeline stage

I am using CodePipeline in aws cdk my pipeline bounces back and forth between the Build stage and the UpdatePipeline stage. I solved it once by toggling selfMutation to false. Now I tried to add a lambda function and I receive an error -> Resource…
0
votes
1 answer

How can I set an address like- 'sub-domain.elasticbeanstalk.com' in Elastic Beanstalk?

I have deployed my django project into AWS ELASTIC BEANSTALK (AWS EB). The default public address of the project is in this form: env-name.region-name.elasticbeanstalk.com. After some searching I've found out I can modify the env-name portion using…
0
votes
1 answer

How are environment variables accessed from ".env" file if Django project deployed to AWS from Github?

I have a Django project deployed on AWS EBS from a Github repo. My secret key is kept on a .env file. I've included the following: settings.py from decouple import config "SECRET_KEY" =…
0
votes
0 answers

How can I use docker compose to deploy to ECS

I'm trying to deploy docker compose to amazon ECS. I have created this docker compose file: services: consul-server: container_name: consul-server hostname: consul-server image: consul:1.12.2 command: agent -server -ui…
Tom
  • 1
  • 1
1
2