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

publicly accessible rds and public/private subnets

In AWS, if I have an RDS in a subnet that has had it's public accessibility feature turned off, do I need to worry about making its subnet private? If so, how would I go about making the subnet...

View Article


how does bastion know which rds instance to connect to in AWS

I am trying to set up a bastion host in AWS in order to perform administrative options on an RDS instance in a private subnet. I am following the instructions from the official documentation...

View Article


forgotten key pair needed for bastion host to connect to rds

I am trying to set up a bastion host to connect to my rds in AWS, but I have forgotten the key pair that I need in order to configure it. Is there a way to retrieve it or make a new one so I can...

View Article

What is the purpose of the key pairs (public and private) available in aws ec2?

In the AWS EC2 console/service, you are able to view several key pairs - what exactly is the purpose of these key pairs? Are they relevant to the ec2 instances or the rds?

View Article

Image may be NSFW.
Clik here to view.

How to specify all ports in Security group - CloudFormation

I have my CloudFormation script like this now:"SecurityGroupIngress" : [{ "IpProtocol" : "tcp", "FromPort" : "0", "ToPort" : "65535", "CidrIp" : "0.0.0.0/0" }] and it looks like this, which is fine:But...

View Article


Trying to run shell script on EC2 instance

I am trying to use a shell script I have in order to automate the installation of squid proxy on a single AWS server as I boot the server up using nodejs via the AWS SDK, but it seems whenever I boot...

View Article

Userdata section syntax does not let launch ECS optimized instance

Below is the UserData section for EC2 instance:"UserData": { "Fn::Base64": { "Fn::Join": ["", [ "#!/bin/bash\n", "echo ECS_CLUSTER=", { "Ref": "EcsCluster" }, ">> /etc/ecs/ecs.config\n", "echo '{...

View Article

SSH into AWS Cloud9 Environment

I would like to SSH into my Amazon Web Services (AWS) Cloud9 Elastic Cloud Compute (EC2) environment, but there is no key pair assigned to the Cloud9 EC2 environment. How can I assign a key pair to...

View Article


Multiple web frameworks in single AWS instance?

This is an infrastructure design question. Is it better to:Run multiple web frameworks on a single AWS instance?Run each framework in separate AWS instances?Here are the web frameworks used:Backend:...

View Article


use python-terraform to create aws instance [closed]

I am new to terraform. I have gone through some basic of terraform. eg. making a .tf file with providers and access key in it then using command 'terrafrom init' and 'terraform apply' this creates...

View Article

Inside a ec2 instance, how can I point a domain to a NodeJS app? [duplicate]

I am running 4 website on a ec2 instance. They are developed using WordPress and simple html. For all of my domains, the A Records of @ and www are set to the same elastic IP which is assigned to the...

View Article

EC2 Instance not Reachable on a specific port using its public DNS

I created a new EC2 instance and a new SG and set the inbound rules to accept custom TCP on port 8080 as well as HTTP and SSH and use that one for my EC2 instance. I can ping the Public DNS and get a...

View Article

linux headers are consuming a lot of disk space on the EC2 machine. Is it...

EC2 machine on aws is filled with multiple linux headers and currently / is 100% full on disk space. I ran commands like apt-get autoremove but it is throwing an error saying No apport report written...

View Article


parameters needed for connecting to aws rds instance via ssh

Does anyone know where to find the values needed for the parameters required for an ssh connection involving a bastion host and an AWS RDS instance?I have listed what I have been able to find so far...

View Article

How to get dynamic shell variable with Ansible playbook and jinja2 templates

I need to call a shell script that will return the private ip of an ec2 in an Ansible task. Once I get the IP in a variable private_ip_var I want to inject that variable in a jinja2 template to...

View Article


How can I connect to an Elasticsearch cluster on EC2 from a Flask application?

I have an EC2 machine running Ubuntu with 4G of RAM. Elasticsearch 7.6.0 is installed and I can access it remotely from my local machine using:curl http://ec2-ip-address:9200 result is:{ "name" :...

View Article

I am getting an error when I am trying to runn ansible playbook that creates...

--- - hosts: localhost connection: local gather_facts: false tasks: - name: Create a security group ec2_group: - name: Ansible description: Ansible security group region: us-east-1 rules: - proto: tcp...

View Article


Enable Cors in AWS EC2 [duplicate]

I have a nodeJS server running in AWS EC2 container...But, when I try to make a post, I receive this message :Access to XMLHttpRequest at 'api.viladalila.online:3001/session' from origin...

View Article

Download EC2 instance contents with only aws login info and no pem key

I've been given access to an aws account and asked to extract all the data stored on it so that it can be deleted. My issue is that I don't have a pem key because I didn't create the instance, the only...

View Article

Can I vertically scale an Amazon instance?

Is it possible? According to Amazon, Amazon EC2 Auto Scaling uses Horizontal scaling:You can also use Amazon EC2 Auto Scaling for dynamic scaling of EC2 instances in order to automatically increase the...

View Article
Browsing all 29243 articles
Browse latest View live


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