Questions tagged [amazon-ec2]

Amazon Elastic Compute Cloud (EC2) provides self-service, on-demand, pay-for-what-you-use computing infrastructure resources.

The Amazon Elastic Compute Cloud (EC2) service is part of the Amazon Web Services cloud platform.

EC2 offers computing power in the cloud, on demand. The 'Elastic' part of the name refers to the ability to scale both up and down, as needed.

6563 questions
2
votes
1 answer

AWS Connect WorkSpace Desktops to EC2 SQL Database on Same VPC

Ec2 SQL Database server: Connection-specific DNS Suffix . : ec2.internal Link-local IPv6 Address . . . . . : fe80::9ca:e9d1:a7b5:3e42%16 IPv4 Address. . . . . . . . . . . : 172.31.21.189 Subnet Mask . . . . . . . . . . . : 255.255.240.0 Default…
bumble_bee_tuna
  • 443
  • 11
  • 26
2
votes
3 answers

Allow EC2 Instance to be Shutdown or Blocked by Another Party

I am working on a project with another person, call him Bob. I would like to run a piece of proprietary software on an Amazon EC2 instance. This software will being send out network packets (HTTP requests) to an external server. I do not want Bob to…
galpo
  • 27
  • 5
2
votes
1 answer

Does elastic beanstalk managed updates replace the need for patch manager (Windows)?

With version 2 of the Elastic Beanstalk platform for Windows, managed platform updates are enabled in immutable update scenarios…
Shawn
  • 131
  • 5
2
votes
0 answers

Google Domains: How to correctly set up a subdomain with an AWS EC2 URL (or IP address)

I am attempting to set up a simple api subdomain (api.example.com) on my site and am unable to figure out how to do this on Google Domains. I feel as though I have attempted every possible combination of records and hosts. I am hosing my API on port…
gdomain
  • 21
  • 5
2
votes
2 answers

ec2 instance always timeout in about 60 seconds?

Why my ec2 instance always timeout in about 60 seconds when I access http or https? After about 60 seconds always return: Network Error (tcp_error) A communication error occurred: "Operation timed out" The Web Server may be down, too busy, or…
2
votes
1 answer

AWS EC2 ENA Support on Linux; Unable to connect after changing instance type

I'm in the process of upgrading several of our EC2 instances from type T2 to T3. This requires enabling ENA support. I've successfully upgraded 3 of 4 instances, but the last one is having issues. I've enabled ENA, just like the other instances,…
Christian
  • 81
  • 6
2
votes
1 answer

EC2 does not boot, goes to "Press enter for maintenance mode"

Environment EC2/T2 Ubuntu 18.04 I have several instances in this environment; all are built off the same Ubuntu AMI. Sometimes, some instances get stuck on the boot console with a message "Press enter for maintenance (Or press CTRL-D to…
JDS
  • 2,598
  • 4
  • 30
  • 49
2
votes
1 answer

Use S3FS Mount As HTTP Server Document Root

My proposed setup: An EC2 server running Apache or nginx. An S3 Bucket in the same region/availability zone mounted with S3FS. The Apache or nginx document root set to the S3FS mount. My question: Is this a tenable and scalable solution for…
xendi
  • 414
  • 5
  • 10
  • 22
2
votes
1 answer

Creation of an AMI from attached volume

In one of the AWS certification quizzes I met a question, where the proper answer states, that creation of an AMI from an attached EBS volume is not recommended and it is a bad practice. Could someone give a more detailed explanation why it is so?
Andremoniy
  • 224
  • 3
  • 10
2
votes
1 answer

how to check ec2 instance-type availability in regions and availability zones

How can we tell which regions and availability zones an instance type is available in? I am looking for to check for c5.xlarge instance type. i already have one query but that is not giving me proper output. aws --profile qa ec2…
user2682305
  • 33
  • 1
  • 5
2
votes
0 answers

AWS CloudWatch Log Being Hammered with 'multilineStarter is missing in logevent'

I have installed AWS CloudWatch Agent on one of my instances (windows) and I get in the agent log file this message: 2019-04-14T16:10:53Z W! multilineStarter is missing in logevent. multilineStarter: true And it is HAMMERING the log file - I get…
2
votes
2 answers

Hosting WordPress in an EC2 load-balanced instance

Whenever my Amazon EC2 instance is stopped or rebooted, a new instance is made with an AMI. This normally is fine for applications that are managed with a service like Puppet, but our WordPress site is not. I have to do a manual restore/upgrade to…
bobber205
  • 241
  • 1
  • 6
  • 17
2
votes
1 answer

AWS EC2 Amazon Linux is using swap even if it shouldn't

I have a few ECS servers running various apps. After a few mysterious outages I noticed that the instance is swapping hard and it consumes its IO Burst Balance rendering the instance useless. The facts: the machines are t2 and t3 instances with 2GB…
scream314
  • 23
  • 4
2
votes
1 answer

How to properly deploy new code to AWS EC2 AutoScaling Group

Scenario: Currently, we have a single production server running on an EC2 instance. Since we are getting a lot of traffic, we would like to use the Autoscaling feature, but we are kind of new to this. Following is my understanding: - We create a…
2
votes
1 answer

How to do SSL termination using AWS Application Load Balancer for Express REST API?

I have a Node Express server running on an EC2 instance that listens for HTTP requests. I want to use an AWS Application Load Balancer to serve that content to the client browser through HTTPS while talking to my EC2 instance through HTTP (rather…
Neil Philip
  • 35
  • 1
  • 8
1 2 3
99
100