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]

39 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
1answer
795 views

Monitor Jenkins node/slave health

For a project i'm working on we need to create a Jenkins node in an AWS environment. For this we will work with the docker image which is available on https://github.com/jenkinsci/docker-ssh-slave ...
2
votes
0answers
30 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
20 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
42 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
171 views

Use dynamic values for parameter-store in aws buildspec.yml for CodeBuild

For my CodeBuild projects, I have a dev, staging and production project. Each project has an environment variable called $BUILD_ENVIRONMENT set to dev, staging and production, respectively. Each stage ...
2
votes
0answers
199 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
686 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
1answer
17 views

I want to scale up/down as fast as AWS Lambda but also be able to allocate the vCPU (minimum 8) per task, any advice?

Goal So I'm looking for an AWS product or combination of products to accomplish the following: Ability to do CPU heavy (non-parallel) calculations (min 8 vCPU's per node) Minimum timeout limit of ...
1
vote
0answers
8 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
36 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
13 views

Deploying several serverless (framework) services at once

I am building a data etl pipeline using AWS lambda and step functions. Each stage of the pipeline is a separate service on their own. The file structures resembles some thing like this. -root |-...
1
vote
0answers
16 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
111 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
76 views

How to connect AWS LoadBalancer to EKS node group using Terraform?

I've created the following service using Terraform: resource "kubernetes_service" "example" { metadata { name = "example" labels = { app = "example" } } spec { port { ...
1
vote
0answers
27 views

https - How to enable users to have secure connection with Jenkins via ELB?

Below is the cloud formation template that creates Eastic Load Balancer as public facing to jenkins(jenkins:ecs docker) running in VPC subnet: { "AWSTemplateFormatVersion": "2010-09-09", "...
1
vote
0answers
42 views

Testing AWS Systems Manager's Parameter Store

I plan to use AWS Systems Manager's Parameter Store to store sensitive information that I can use in a CodeBuild buildspec.yml file for Continuous Delivery. I follow the documentation here: https://...
1
vote
0answers
88 views

Getting client IP address in Istio

So I have a setup like this: AWS NLB (forwards) --> Istio --> Nginx pod Now, I'm trying to implement rate limiting at Istio layer. I followed this link. However, I can still request the API more ...
1
vote
0answers
49 views

Can you exclude from AWS Trusted Advisor without waiting 6 minutes between clicks?

I've been working on cleaning up the AWS Trusted Advisor](https://aws.amazon.com/premiumsupport/technology/trusted-advisor/) warnings at my new job. I've got a few hundreds warnings that are worthy ...
1
vote
0answers
11 views

Recomendation for automated rotation of a JSON keyring?

I have a Sailsjs app that is configured to encrypt model attributes with sensitive information. This seems to use bcrypt, under the hood and leverages a JSON keyring in the configuration (...
1
vote
0answers
171 views

Trying to start ELK APM container on AWS but no environment variables takes effect

I am trying to run ELK APM - application performance monitoring container on AWS. Image: docker.elastic.co/apm/apm-server:7.3.1 Port mapping 8200:8200 and setting Environment variables output....
1
vote
0answers
252 views

How Can I Easily View Build Artifacts From AWS CodePipeline / CodeBuild?

I'm creating a project with the nodejs + AWS Lambda + express template in AWS CodeStar, and I'm using CodePipeline and CodeBuild to build and deploy the project. It also runs tests, and it would be ...
1
vote
0answers
145 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
2 views

Best AWS EC2 instance class for general Kubernetes cluster

Hi We are deploying a fairly standard multiple purpose (data replication workers and some nginx web proxies) in an EKS cluster, and wondering what EC2 instance class people recommend for this workload....
0
votes
0answers
12 views

Get tagging to work on AWS CLI

I am trying to tag commit hash and app version onto the ECS service to make it easier for developers to identify the service with the code. But I get this error + aws ecs tag-resource --resource-...
0
votes
0answers
12 views

is it possible to connect an AWS autoscaling group with an application load balancer?

I'm working with AWS cloudformation I have an autoscaling group for a couple of machines running an API server, and I would like to set up an application load balancer as a single entry point, so that ...
0
votes
0answers
7 views

Two CodeDeploy projects create two Webhooks in Github, causing deployment to run twice

I have two CodeBuild projects, one for dev and one for production. They both use the same repository but under 'Source Version', I specify dev for the dev branch and master for the production branch. ...
0
votes
0answers
10 views

How I can log codeploy scrips output in aws cloudwatch?

In my project I use aws codepipeline and the deployment is handled by aws codeploy. The appspec.yml go as follows: version: 0.0 os: linux files: - source: / destination: /home/ubuntu/code hooks:...
0
votes
0answers
6 views

Is it possible to run a local shell script on a remote host via AWS SSM?

I'm trying to find any documentation or articles that describe the pattern I'm attempting to achieve, but have had no luck so far. The summary of the situation is: I need to deploy an application to ...
0
votes
2answers
17 views

How to set Deployment Type using ECS First Run Wizard

The AWS ECS First Run Wizard provides no option for choosing the 'Deployment type' of the ECS Service: Whereas the ECS Service creation screen does: Why does the First Run Wizard not allow for ...
0
votes
0answers
53 views

How I can emulate a network failure on my codebuild project?

On my php project I cache the composer's cache into an S3 bucket: version: 0.2 env: variables: COMPOSER_CACHE_DIR: "/var/cache/composer" phases: install: commands: - apk add --...
0
votes
0answers
12 views

Set tags to AWS resources using Helm Charts

How do I set tags to AWS resources (for cost monitoribg only) using Helm Charts v2 or v3, without using 3rd party tool that costs money? Thanks
0
votes
0answers
20 views

How I can edit an existing aws codebuild project in order to place caching using an s3 bucket?

I have already an exising aws pipeline with a single codebuild step and a single codeploy step sourcing from github. I use the pipeline to build a laravel rest API and I want to have a shared cache ...
0
votes
0answers
21 views

Why does destroying an ASG AWS take so long?

Creating an auto-scaling-group in AWS is extremely fast in terraform. Destroying one, on the other hand, takes far longer (5+ minutes instead of 1 minute). This makes down-time fairly significant (...
0
votes
0answers
305 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 ...
0
votes
0answers
14 views

Auto-install all security updates on new eksctl nodes

When I create a new nodegroup in my cluster with eksctl create nodegroup --config-file=cf.yaml, I'd like the newly created ec2 instances to start with all available security updates installed. By ...
0
votes
0answers
13 views

Unable to connect to remote service using AWS VPC Peering

I have a question regarding some AWS infra I'm trying to build. Due to legacy constraints, I have a service running in a remote VPC that I need to access, and I have a new service I'm developing in ...
0
votes
0answers
115 views

Running a command as a specific user on an ec2 using ssm

Background I want to automatically configure an EC2 via a build, using the aws cli and ssm. The (manual) setup for the container looks something like this: Create an EC2 Run a shell script as root ...
0
votes
0answers
8 views

CloudFormation - Partitioning EBS root volume

Below is the cloudformation template to create EC2 instance: "EC2Instance":{ "Type": "AWS::EC2::Instance", "Properties":{ "ImageId": "ami-07777777777c7", "InstanceType": "t2....
0
votes
1answer
110 views

kube-controller-manager unable to communicate with etcd

1. What kops version are you running? The command kops version, will display this information. Version 1.12.2 2. What Kubernetes version are you running? kubectl version will print the version if a ...