Quantcast
Channel: Active questions tagged amazon-ec2 - Stack Overflow
Browsing all 29243 articles
Browse latest View live
↧

Image may be NSFW.
Clik here to view.

Can you edit the "name" attribute for AWS resources via the AWS CLI?

In the AWS Console I can edit the name attribute for varying resources (e.g. EC2 instances, VPC resources, etc), but can this name attribute be modified via the CLI/SDK?

View Article


What is standard practice for storing private SSH keys for AWS Lambda

My lambda function is responsible for ssh connecting to some of our EC2 instances. Currently I just have our key file stored in the lambda's deployment package, but this is obviously not desirable...

View Article


aws configuration: Mismatch of Security group IDs and names

I have the following configuration:resource "aws_security_group""allow_ssh" { name = "allow_ssh" vpc_id = "${aws_default_vpc.default.id}" description = "Allow ssh connections on port 22" ingress {...

View Article

Kafka server configuration - listeners vs. advertised.listeners

To get Kafka running, you need to set some properties in config/server.properties file. There are two settings I don't understand. Can somebody explain the difference between listeners and...

View Article

aws api http gateway data transfer pricing calculation

Can someone explain the data transfer pricing for the new aws api gateway http offering when connecting to an ec2 back-end.According to the pricing model aws api pricing it quotes "*HTTP APIs are...

View Article


Nginx reverse proxy for requesting HTTP backend on HTTPS frontend

I've been seeing a ton of info about reverse proxies and nginx but I'm a little lost on how to implement. I am running two separate EC2 instances (front and back end). I have SSL established on the...

View Article

AWS EC2 : How can i whitelist some ip using command line?

is there any possibility to whitelist some of IP using ssh access in AWS EC2?Please share anyone have any details?

View Article

How to install Certbot SSL on ec2-instance Linux (Apache Web Server)?

I got this problem when I tried to install Certbot on ec2-instance linux (Apache Web Server). I already install PuTTY(to access into instance) and WinSCP (to transfer the file). But when I run some...

View Article


How to re-assign Private IP to new EC2 instance AWS

Objective: What we are trying to achieve is automated way to configure EC2 instance from scratch rather than doing it manually. For this we have written some ansible playbooksProblem: Now I have an...

View Article


AWS SSM ping status connestion lost for windows

Hi i am trying to perform patching activity on the ec2 instances using AWS Systems manager but unable to perform activity because in panel of SSM managed instances it shows "connection lost" for ping...

View Article

How to Track AWS Resource created by an IAM user and store record in database?

I have created some IAM users to my AWS account with permission to launch instances. Now I want to track and store their instance launch activity like time and instance ID in my MySQL or any other...

View Article

AWS EFS from Windows Server 2012

Has anyone ever got Windows Server to connect to an AWS EFS volume using the Windows NFS 4.1 client? I am aware it is unsupported but wondering if anyone had done it (or via another client or...

View Article

Unable to reach AWS EC2 instance with Elastic IP Address from the browser

I have recently spun up an EC2 instance with an elastic IP associate to it.The EC2 is part of a security group which has port 80(HTTP) and 22(SSH) open. The subnet associated to the EC2 is associated...

View Article


How to install aws sdk on ec2 instance? [closed]

I have downloaded aws adk for php3 in the path/html and created a file .aws and credential in the path/ec2-user.Even using the method on this website...

View Article

AWS EC2 : upgrade from AMI 1 to AMI 2

Is-there an easy way to upgrade from Amazon Linux AMI to Amazon Linux 2 AMI, or do I have to create a new instance and do again all my server setup ?Thanks for your feedback,

View Article


need to configure request routing on aws ec2 instance from apache2 server to...

The request has to reach apache2 first and then routed to tomcat (both are on aws ec2 instance), could some body help me with the configuration, I tried searching the internet but could not found any...

View Article

ERR_CONNECTION_RESET from EKS nodes

I had EC2 server where I was running my existing application. The EC2 instance was on private subnet and ELB was created in public subnet with access to particular VPN IP. So whenever I was on VPN, I...

View Article


Force EC2 Instance Replacement When Updating UserData in CloudFormation

I'm using the UserData field in a CloudFormation template to install software on the instance. When I update the UserData I would like CloudFormation to replace the instance. However, UserData is not a...

View Article

How to create docker images for a system with multiple applications

I have installed and configured a system in EC2s using Ansible. It is 1 EC2 master with a few EC2 workers. Sometimes when I use ansible to update or reinstall configuration, it fails because either...

View Article

AWS Cloudformation - cfn-init timeout error

I have a problem with cfn-init in my cloudformation template. By default, the cfn-init sends a successful signal to my auto-scaling feature, however it is not sending any signal to auto-scaling, and...

View Article
Browsing all 29243 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>