Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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]

0
votes
1answer
17 views

what is better between Jenkins & AWS CodeDeploy for CI/CD

Im considering what is better and easier to use for CI/CD pipeline between Jenkins and AWS CodeDeploy. e.g. jenkins server request webhook to git repo(github), and deploy to EC2. e.g. When push to ...
0
votes
0answers
9 views

Terraform Elastic Beanstalk managing provisioned EC2 resources

Is anyone aware of any approach that would allow me to manage EC2 resources created by AWS Elastic Beanstalk in provisioning matter (chained after creation) in the same .tf file. The only thing I ...
0
votes
1answer
14 views

AWS instance store volume - Create volume when instance is stopped/started thru SystemD(centos)

have an instance store volume(faster/cheaper) which we would like to create a volume(mkfs) when the instance is stopped and started via systemd. Is the best way for this is to have a shell script and ...
0
votes
0answers
7 views

Lambda function not being invoked by SNS topic | Step Functions

I have created a small test application (just outputs some text to test) and am trying to get it so that when I have a message put into an SNS topic that my Step Function/Lambda Function will invoke ...
1
vote
1answer
13 views

Elastic Beanstalk give error Root Object doesn't exist in Jenkins

I create a Jenkins job which uploads my war file to elastic beanstalk. But when I start to build it gives error java.lang.IllegalArgumentException: Root Object doesn't exist Below is my ...
0
votes
0answers
9 views

Issues creating Lambda functions and stepfunctions

Just to note I did already post this on SO but no response hoping here works because I am truly stuck. Day 4 of this fight... I am trying to create some lambda functions using the serverless package ...
0
votes
0answers
7 views

Config S3 in Halyard

i have my config Halyard such like this: persistentStorage: persistentStoreType: s3 s3: bucket: %bucket-s3% rootFolder: %folder% accessKeyId: XXXXXXXXXXXXXXXXx secretAccessKey: ...
0
votes
0answers
11 views

How react server will contact node server through private IP

I already asked this Question on stackoverflow but not getting any success. Some One suggest me that there is a devOPS Community which help regarding this query. I am attaching the link which I ...
0
votes
0answers
11 views

CodeDeploy with blue-green, an ASG, AND more than one TG?

Is there an easy way to use CodeDeploy to deploy to an ASG using blue-green and attach to more than one Target Group yet? In-place deployments let me keep my ASG which has more than one target group,...
0
votes
1answer
22 views

How can I access the console of a booting EC2 instance in AWS?

I'm new to AWS and am looking for a way to access my EC2's console so I can triage issues such: boot to single user mode view console output as system boots gain console access to debug GRUB issues
1
vote
1answer
13 views

Which option do I select for Security Group Source?

I am developing my Security Group for a VPC that has my Elasticbeanstalk, RDS and ElastiCache services and I am at this dashboard: Under Source, it used to be that you could select sg-0x12345-my-...
0
votes
1answer
28 views

What are your companies policies for S3 data durability?

AWS says that their systems are designed for 99.999999999% durability, but apparently there is no guarantees in their SLA. Yes, this can (hypothetically) be improved by using cross-region replication,...
0
votes
0answers
25 views

KeyCloak, PrivacyIdea and Email Gateway

I am doing a Micro-services application hosted in AWS to be accessed via Amazon API Gateway by end-users from several organisations worldwide. I am hoping to use KeyCloak as User Authentication Server ...
0
votes
0answers
14 views

Can Terraform S3 remote state be kept in a different AWS account?

I am currently using Terraform with S3 remote state. The IAM user that I'm using to run Terraform exists in the same AWS account as the S3 bucket holding the remote state files. This is all working ...
0
votes
1answer
22 views

Which S3 buckets is Lambda allowed to read code from?

There doesn't seem to be any way to define a policy about which S3 buckets Lambda is allowed to run code from. With most services in AWS, the usual practice is to define an IAM role that can be ...
1
vote
1answer
25 views

Is it necessary to specify resource in S3 Bucket Policies?

Is it necessary to specify a resource attribute within the statements that make up an S3 bucket policy? The Access Policy Language Overview seems to suggest that the resource attribute is always ...
0
votes
0answers
13 views

How to create AWS shared logging with SAML federated identities?

This knowledge article explains very well how to setup an AWS audit log for IAM based users. However what is the recommended way to proceed if you use federated (SAML) identities?
-1
votes
1answer
13 views

Utilise AWS IoT on non-supported hardware

Before I dig in too far, is there any way I can use any of the AWS IoT core functions on non-supported hardware? I can use the AWS Node.js libraries that are available (for my hardware), but I don't ...
0
votes
1answer
14 views

TravisCI did not run after adding more configuration to .travis.yml file

I added some AWS keys to my .travis.yml file so that it would deploy my application over to ElasticBeanstalk, but after I committed the changes to the file and pushed to master, nothing happened. I ...
0
votes
0answers
3 views

How to execute an external command in Cloud Custodian (c7n)?

I need to create a tag value containing a date string via Cloud Custodian (c7n). Noting the comment block in the value section of the action block in the code below. I need to understand how to ...
2
votes
1answer
45 views

Are AWS Boto3 calls asynchronous?

In the API documentation for Apache Cloud Stack for example, they put an (A) to designate asynchronous API calls. In the Boto3 - Python client API for AWS - documentation as I can't see anything like ...
0
votes
1answer
32 views

How to pass HashiCorp Vault secrets(k/v passwords) to Terraform EC2 instance

How can we pass HashiCorp Vault secrets, k/v username/password and feed Terraform while its creating Ec2 instance. For example, i don't want to use in plain text variable "myvariable" { default = "...
1
vote
1answer
223 views

How to re-enable RDP on AWS-EC2 instance

Accidentally i disabled RDP on EC2 windows machine and now I am not able to access it via RDP, Is there any way to re-enable RDP service on EC2 instance?
2
votes
1answer
28 views

How to configure Dedicated IPs for specific SES domain?

Recently we've requested for 2 dedicated IPs for our SES domain, As most of the mails are going to spam folder. And we've 5-6 SES domains(account.abc.com, help.abc.com, mail.abc.com, etc) in the same ...
0
votes
1answer
227 views

Using volumes on AWS fargate

I am new to fargate and even dockers. But I have used dockers for a couple of months. Only now, I am using fargate. I create a particular docker instance as follows: docker run -v localHostFolder/...
0
votes
0answers
20 views

AWS golang SDK get configuration variables

Is it possible to get with AWS Golang SDK custom configuration variables the same way you can get them with aws cli? As an example, I have in my ~/.aws/confg [profile test] region = eu-central-1 ...
5
votes
2answers
318 views

Impact on policy after deleting IAM user

I have created one IAM User named "test" with S3 and Glacier Permission. Now with user "test" i created one life cycle policy to move data from S3 to Glacier at every 5 days. Now, i delete IAM user "...
0
votes
1answer
34 views

How to filter ELB logs by today's date?

I've tried this query: SELECT request_timestamp FROM elb_logs WHERE date_trunc('day', request_timestamp) = date_trunc('day', current_timestamp) LIMIT 10 but it fails with: SYNTAX_ERROR: line 3:7: ...
0
votes
0answers
5 views

Pack and move kubernetes to a different host

Say I had a K8s based infra on GCP and wanted to easily move to AWS. What design architecture do you recommend ? like use of zeroconf pods, avoid vendor locks etc.. How to make pack-and-move easy ? ...
0
votes
0answers
10 views

Does AWS Cognito support Mutual certificate-based TLS to third-parties

Does AWS Cognito support Mutual certificate-based TLS authentication to third-parties outside of AWS i.e. client certificates on my customers' organisation staff PC browsers for authentication via AWS ...
0
votes
1answer
24 views

Does AWS Amazon Certificate Manager Generate Client certificates for Customer (3rd Party Clients)

Could you kindly help me out with an answer. Does AWS Amazon Certificate Manager (ACM CA) (or maybe LetsEncrypt) generate Client certificates for Customer (3rd Party Clients), i.e. the client ...
1
vote
1answer
26 views

How to Block Traffic From a Single IP in AWS

Our server being hammered by traffic from some particular IP. It was causing a 20x increase in traffic to some URLs. So I wanted to block all traffic from that single IP.
1
vote
1answer
35 views

How to Allow AWS S3 Access From only Specific IPs

Recently we were testing with AWS VPC, and a requirement for our project was that we needed to allow nodes within a VPC access to S3 buckets, but deny access from any other IP address. Is there ...
1
vote
1answer
21 views

How to set ping response of AWS ec2 instance?

I hosted one website in AWS. When I try to open in a browser it's working properly. But when I try to ping same website that time it's not sent a response. so how to enable ping response.
0
votes
0answers
42 views

Understanding AWS GuardDuty NetworkPortUnusual findings

Today I received my first alert from AWS GuardDuty that concerns me though I'm not sure how to assess the severity. I received what appears to be an outgoing connection (or at least an attempt) to an ...
1
vote
1answer
15 views

Is there a way to find out every resource that calls a lambda?

I have a lambda that gets called from several place through out an large app. Is there a way to discover every resource that is calling/using/attached to that lambda?
1
vote
1answer
120 views

Trying to make job working AWS MediaConvert (ERROR 1040)

Here is my json job. { "Queue": "arn:aws:mediaconvert:xxxxx", "UserMetadata": {}, "Role": "xxxxx:role/MediaConvert", "Settings": { "TimecodeConfig": { "Source": "EMBEDDED" }, ...
0
votes
1answer
16 views

Can I check whether ansible is on last batch of rolling update (serial: 25%)?

I'm using Ansible to update a pool of EC2 servers with a rolling update, in batches of 25%. In between batches, I'm pausing long enough for the server health checks to start to pass again (since they'...
1
vote
1answer
69 views

Terraform - aws_security_group_rule doesn't support import

I'm having a strange problem when trying to import an aws_security_group_rule into terraform. I'm running the latest version of TF (0.11.11) For example: terraform import module.ec2....
-1
votes
1answer
22 views

How much I will pay for AWS spot: my bid or current spot price?

AWS EC2 Spot. My Spot Max Bid Price - 2$. Current Spot Price - 1$. How much I'll pay for instance? 2$ per hour or 1$ (and increasing|decreasing), equal to Current spot price, while my bid price is ...
1
vote
0answers
15 views

echo colon to file in cloud-init

So, I have this part in my cloud-init: runcmd: - echo : RSA 'node.crt' >> /etc/ipsec.secrets I literally can't make it to work. I tried these variations: runcmd: - echo : RSA 'node.crt' ...
0
votes
2answers
142 views

Transfer files and execute commands from jenkins scripted pipeline to AWS instance

I want to transfer files and execute a few commands on remote AWS instance from Jenkins. I have the following methods in mind to do the same. Note that my Jenkins server is running in the local server,...
0
votes
0answers
18 views

AWS API gateway call to multiple lambda functions possible?

We have a front end implemented in ECS. This front end communicates to API Gateways which in turn makes calls to Lambda functions. We are implementing Disaster Recovery Solution for this architecture. ...
0
votes
1answer
24 views

How does Django deployments happen on Servers?

I started learning Django six months ago and I really really loved it. I learnt how to deploy the django projects to EC2 instances. Basically 1st time when the django project is deployed to EC2, ...
0
votes
1answer
35 views

Terraform | AWS | vpc_id causing apply to fail

I am working on setting up a Cloud9 environment using Terraform, I ran into an issue when it comes to my Terraform apply and specifically: Error: Error applying plan: 1 error(s) occurred: * ...
0
votes
0answers
29 views

What AWS resources are applicable to each action?

AWS permission policies have actions and resources (and conditions, but let's leave those aside for the moment). For a given action, how can I get an accurate list of all the resources it can be ...
1
vote
2answers
65 views

When is it not appropriate to use serverless technology such as AWS Lambda?

With serverless computing using AWS lambda, Amazon(AWS) is taking the ownership of architecture, administration & deployment aspect of AWS services(VPC/EC2/ELB/AScaling/Rtables/SGroups/etc...) for ...
3
votes
3answers
83 views

How to see when an AWS IAM role was last used?

In AWS in the GUI you can select a role and then click on delete, then when you are prompted to approve or deny the deletion it shows you when the role was last used. I would like to be able to know ...
1
vote
0answers
15 views

all volumes are geting deleted when one EC2 is being deleted via terraform

i am using this template to create aws resources. my count is 2, every thing is getting created as per plan,, i am attaching a 2nd ebs volume of 1 gb to both machines, which is also happening well, ...
2
votes
2answers
44 views

all volumes are geting deleted when one EC2 is being deleted via terraform

i am using this template to create aws resources. my count is 2, every thing is getting created as per plan,, i am attaching a 2nd ebs volume of 1 gb to both machines, which is also happening well, ...