Questions tagged [amazon-web-services]

For questions about Amazon Web Services (AWS) in general. If your question is about a specific Amazon web service please use that tag, e.g. [amazon-s3], [amazon-ec2], [amazon-ecs], [aws-codedeploy]

67 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
1answer
76 views

Redirect to a custom page on 503 error in Ingress

When our site is getting deployed, the Ingress gets created and before I could get any response I get 503 for 5-6 minutes (time taken to startup). We need to configure our ingress to redirect to a ...
2
votes
0answers
41 views

Is running linux container on windows aws instance possible?

what I'm trying to achieve is running a Linux(ubuntu LST) container inside a windows server 2019 OS. The problem is that the windows OS runs as an AWS instance. There have been problem for me trying ...
2
votes
0answers
85 views

How to deploy StatsD listening on UDP in kubernetes with external loadbalancer on AWS?

Our goal is to have StatsD deployed on k8s cluster running on AWS. Currently all existing applications using UDP to send StatsD metrics. As we understood from the kubernetes docs and tests we ...
2
votes
0answers
44 views

SFTP server with third party user management system?

I understand how to set up SFTP servers on Linux and create users and their passwords manually. So basically, the users get authenticated as normal Linux users get authenticated through /etc/passwd. ...
2
votes
0answers
1k views

CodeDeploy: deployment failed because a specified file already exists at this location

I build an AMI from a 'prototype' EC2 instance I created to confirm everything is working. I create a Launch Configuration and Auto Scaling Group based on the AMI. I associate the Auto Scaling Group ...
2
votes
0answers
47 views

Issue with Spinnaker automated trigger

I am trying to get Spinnaker to have a pipeline use an automated trigger which is an image pushed to an ECR repo. I can add different repos fine but can't seem to see the images. I am following this ...
2
votes
0answers
310 views

Allowing all apps/users access to folder - S3FS-FUSE

I'm running an application on AWS EC2 Ubuntu instance, here's what I've done: - I've mounted S3 bucket as folder with s3fs-fuse using this command (unfortunately as root : sudo): sudo s3fs ...
2
votes
0answers
530 views

Provisioning times for Redis in cloud taking too long, how can we shorten it?

Provisioning a 1 GB Redis cache service on AWS takes around 8 minutes. Doing the same on Azure takes around 16 minutes. Ours Terraform scripts need the call back from the Redis systems. Why is this ...
2
votes
0answers
727 views

How to deploy with AWS CodePipeline a multicontainer docker environment without dockerfile

I'm using simple docker-compose container images. Here's my docker-compose.yml version: '2' services: db: image: postgres:10.2 ports: - "5432:5432" ...
1
vote
0answers
12 views

Cost minimization in aws parallel cluster

I'm new to aws cloud service. I have to create a parallel cluster in aws. So, I'm using aws parallel cluster. But the problem is, when creating a cluster the NAT gateway billing me when I'm not using ...
1
vote
2answers
335 views

How do I use the remote-exec provisioner with Terraform?

I am using Terraform 0.14 and AWS. I am trying to write a .tf file that will invoke a remote-exec command via Terraform's provisioner. This code does not work: resource "aws_instance" "...
1
vote
0answers
94 views

The deployment failed because no instances were found in your green fleet

I have created a blue-green deployment in AWS CodeDeploy with the option Manually provision instances. but when I run pipeline code deploy show error `The deployment failed because no instances were ...
1
vote
1answer
49 views

AWS SNS-SQS: Checking a subscription already exists

I've found it's a useful strategy to create relevant queues whenever a queue worker service boots. For instance, on service boot, it checks whether its queues exist already in AWS and creates them if ...
1
vote
1answer
30 views

How I can retrieve aws lambda cloudwatch logs in txt format so I can search on them?

A lambda that I have deployed has gone wrong. Therefore, I want to look on logs and find out whats wrong about it. Hence I look upon cloudwatch logs for any error message. But the cloudwatch ...
1
vote
0answers
86 views

Branching strategy and CI/CD

We are planning to use the Git-flow branching strategy with CI/CD. It's a conscious decision not to use Trunk based development. Here's what the pipeline looks like: Here's what the process looks ...
1
vote
0answers
284 views

Ansible/AWS dynamic inventory — How to create groups based on tags?

I am trying to create custom groups, based on tags. I am using this doc as a reference: https://docs.ansible.com/ansible/latest/plugins/inventory.html#inventory-plugins As a baseline, in my aws_ec2....
1
vote
0answers
20 views

How to use Vault generated certificates for Internal Domains in AWS

I have generated certificates for an internal domain using Hashicorp Vault. I have exported the private key, certificate body and certificate chain. I have uploaded the certificate onto AWS ...
1
vote
0answers
14 views

Allow specific AWS permissions(Lambda, S3) / roles to specific Jenkins Jobs within same AWS account

We have one AWS account in which an Ec2 instance is running where Jenkins is installed, and we have attached an IAM role to it, with s3 access permission. We have Jenkins jobs which needed aws ...
1
vote
0answers
17 views

In aws will snapshots be cheaper than AMIs?

I know you can create AMIs from a snapshot. Snapshots are cheaper to store than AMIs and that AMIs of a stopped instance are cheaper to store than an AMI of a running instance. Will an AMI of a ...
1
vote
0answers
495 views

Defining and using bash functions in AWS CodeBuild

I thought I could slightly improve readability of repetitive sed calls when inserting secrets into a file with AWS CodeBuild. I defined a bash function: replaceConfig() { sed -i 's|{'$1'}|'${!1}'|' ...
1
vote
0answers
457 views

SQS Error Message: The specified queue does not exist for this wsdl version

I have a Lambda function that is created inside a serverless framework setup. I am trying to pass in a queue url as an ENV variable, when I do that it results in the below error message. I've checked ...
1
vote
0answers
39 views

Terraform duplicates the security groups, how do I stop it?

I'm using terraform to create two instances and a security group. Here is how I did it: # bastion host resource "aws_instance" "bastion_1a" { ami = data.aws_ami....
1
vote
0answers
22 views

How to enable anonymous authentication for kube-apiserver using kops on AWS C2?

I want to enable anonymous authentication using kops, but it's default settings provides the --anonymous-auth=false options to kube-apiserver: /usr/local/bin/kube-apiserver --allow-privileged=true --...
1
vote
0answers
56 views

Variables in Amazon S3 redirect rules

I'm trying to configure path redirect for Amazon S3 bucket static content ( → Properties → Static website hosting → Redirection rules). Simple rules, such as in instruction, work properly. Is it ...
1
vote
0answers
26 views

Backup kubernetes cluster + EBS PVs / restore to new account?

We are migrating multiple EKS kubernetes clusters to new AWS accounts, and each of them has AWS EBS persistent volumes encrypted with the default account key. Within an account we were planning on ...
1
vote
0answers
397 views

AWS ECS Overwrites Docker Entrypoint Command?

So I've built a docker image locally with packer. When running the image locally, everything is fine. But for my deployment I've uploaded the docker image to the ECR and started it on ECS. However ...
1
vote
0answers
36 views

Is anybody using Amazon Kinesis in production, what are the experiences and what was the rationale for choosing this service?

Amazon Kinesis could be used to analyze streaming data. I wonder whether anybody is using this service and what are the experiences? After reading this documentation I have no idea for what purposes ...
1
vote
0answers
279 views

Why does Jenkins' Amazon EC2 Plugin not terminate some VMs when they are idle for X minutes on AWS US-east-1?

| Product | Version | |:-----------|--------:| | EC2 plugin | X | | Jenkins | 2.190.1 | Looking for help troubleshooting an intermittent issue; We run an Ubuntu version of Jenkins on AWS ...
0
votes
0answers
7 views

Can you set aws SNS notifications to only be sent when merges are made into to a specific code commit branch?

I havn't used AWS's SNS notificatios before and my use case for them reqieres being able to specify a branch to send my self notificateons for mearges to that branch only. Can this be done?
0
votes
1answer
11 views

How to Integrate Amazon API Gateway with EKS using Application Load Balancer (ALB)?

According to the AWS documentation, it is possible to integrate Amazon API Gateway with EKS using ALB. However, by far most of this documentation explains how to do this with NLB instead of ALB. So ...
0
votes
1answer
16 views

Is it possible to deploy RDS in multiple region in AWS with read and write replica

I have an application that I need to make it accessible across 4 regions, I saw blogs and other posts in the internet that speaks about the read replica of AWS RDS MySQL Server, is it possible to ...
0
votes
0answers
18 views

Hourly plan for AWS Backup (RDS) not working 24/7

My AWS Backup plan is set up to do continuous RDS backups in the primary region, and hourly copies in a backup region. The problem I'm having is there aren't 24 snapshots in the backup region per day ...
0
votes
1answer
16 views

AWS ELB Application Load balancer, SSL not working

I've setup a "Application Load balancer" in AWS. It has two Listeners, one on HTTP (port 80) and one on HTTPS (port 443). It also has one target group that with only one FARGATE instance ...
0
votes
1answer
48 views

ansible-playbook: how to dynamically, conditionally set a large deployment environment (variable space) in a playbook?

I am using an ansible playbook to deploy a php web application in aws. The deployment is repeated many times, with a different environment, for each customer. The different scenarios range from ...
0
votes
0answers
12 views

Glacier offsite backup costs 2-3$ per month on AWS - avoid monthly credit card payment

I do an annual offsite backup (personal files) which I transfer to Glacier. AWS now charges me 2-3$ per month on my credit card. I have a European credit card (additional charges because of foreign ...
0
votes
2answers
55 views

Container Image Promotion across environments in ECR/ECS

We have started doing some initial work on deploying containers on ECS Fargate service. However we are not yet completely figured out how to manage our image promotion across different environments. ...
0
votes
1answer
33 views

Unexpected type error in ansible community.aws.cloudfront_distribution: “origins” parameter: “'list' object has no attribute 'get'”

I get an unexpected type error, for what I assume to be the "origins" argument to the community.aws.cloudfront_distribution module: "Error validating distribution origins: 'list' object ...
0
votes
0answers
15 views

How to use new VPC CIDR range in a Fargate-only EKS cluster?

I created an EKS Fargate-only cluster using an existing VPC, and currently have objects running in it. I want to associate new CIDR ranges for my VPC by following How do I use multiple CIDR ranges ...
0
votes
0answers
4 views

How to set AWS Events RunCommandsTargets value from event input?

The AWS EventBridge service allows to execute the SSM Run Command feature based on triggered events. The RunCommand feature accepts parameters such as which command to run, and these can be injected ...
0
votes
0answers
6 views

AWS ElasticSearch - Automating manual snapshots

The requirement - A customer requires an automated mechanism that takes a manual snapshot of an AWS ElasticSearch domain (production) on a daily basis. The target of the snapshot is an AWS S3 bucket. ...
0
votes
0answers
15 views

What if EC2 in public subnet is not assigned public IPv4

Hi I'm struggling to understand of public vs private communication in Amazon VPC. what if EC2 instance is not assigned public ipv4 in public subnet, can it get traffic/data from any other EC2 ...
0
votes
0answers
24 views

Best way to organize e2e testing in separate environment without intervention to stable development process

Hello DevOps community! TL;DR What are your cases where you integrated cypress end-to-end testing to your project? What are the best approaches? Pitfalls? Long story... I got the QA engineer asking me ...
0
votes
0answers
10 views

Elastic Beanstalk Log Line Breaks

I have a Node.js app running in Elastic Beanstalk and logging using console.log, console.error etc...then I have CloudWatch logs turned on. When I go to the Insights and do a query it shows up but ...
0
votes
0answers
61 views

How should Kubernetes worker nodes get the correct /run/flannel/subnet.env file?

I am using Kubectl 1.20.2 on the client side and 1.18.9 on the server side. I have deployed EKS, and I have created a cluster. The pods never become ready unless I manually log into the worker nodes ...
0
votes
0answers
34 views

AWS rds proxy not releasing connection to db

I have setup a rds proxy in between my webapp and rds mysql. However, when my webapp releases connection, rds proxy keep holding it. What is the parameter that decide the time that rds proxy release ...
0
votes
0answers
3 views

Can you use X-ray between VPCs in AWS?

I have 2 VPCs in the same account and want to test that a lambda function in one VPC will be able to connect to a lambda function in the other.
0
votes
0answers
18 views

EKS dashboard without token

The requirement is to access my EKS dashboard without any token. I have setup the EKS dashboard and i am able to access it via a web browser now i am trying to access the dashboard without the token ...
0
votes
0answers
36 views

Deploy and expose Mysql in AWS Lightsail container service

AWS Lightsail container service allows exposing the container only if it has an HTTP / HTTPS port open with the proper responses to healthcheck. I'm trying to run a MySQL container from the docker hub ...
0
votes
0answers
24 views

deploying my public key to multiple ec2 instances

I wrote a playbook to deploy my ssh keys across multiple instances. This my playbook, but I am experiencing some problems with it. I already created my ssh keys from my local instance. Please see ...
0
votes
0answers
18 views

How can I efficiently manage multiple ec2 instances with a Panel

My Current Scenario is: I have over 20+ AWS ec2 instances running, with each instance running a single website. I have to use SSH for every task I have to perform related to server. I have to keep ...