Questions tagged with Amazon EC2

Content language: English

Sort by most recent

Browse through the questions and answers listed below or filter and sort to narrow down your results.

I allocated an Elastic IP address in Middle East (UAE) Region(*3.28.231.227*) but IP generated is belongs to Bahrain regions ![Enter image description here](/media/postImages/original/IMd7WZttJgTKS9IKCmZJYL6A)
1
answers
0
votes
12
views
asked 4 days ago
Hi, I ran into an issue with our logging from Kubernetes pods. We store logging in JSON format, but saw that with big JSON logs it was breaking. So I investigated the isssue. Found out that when you are sending big logs from the pods with for example `cat log/test.log > /proc/1/fd/1` It will ends in multiple parts into the node log folder (/var/log/pods/pod) `2023-03-24T11:53:33.107458625Z stdout P YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY 2023-03-24T11:53:33.107458625Z stdout P YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY 2023-03-24T11:53:33.107458625Z stdout P YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY` This breaks the JSON. How can we avoid that sending big log files to /proc/1/fd/1, will be splitted into multiple parts? Thank you!
1
answers
0
votes
14
views
asked 4 days ago
when I try to log in to FileZilla by using credentials that I created in FTP in an EC2/Lightsail (Ubuntu) instance, it was not connected. otherwise, I use a keypair, it will work. Please give a reason and give a proper procedure for creating FTP Server by using an EC2/Lightsail. Thank You in Advance
3
answers
0
votes
25
views
asked 4 days ago
I have created 4 EC-2 instances. Three of them in us-east-1c and one in use-east-1d.I have created two target groups with two instances each. I have created a simple html page in each server using putty and created application load balancer with default http to target group 1. But when I want to divert to target group 2 using path base listener it shows URL not found 404 error. I have created index.html file in each server root directory /var/www/html. When using ALB DNS name it displays target group 1 server i.e. server 1 and server2. In root directory of server 3 and server 4 I created a random folder like images. When I assigned listener path to /images and forwarded to target group 2 i.e. server 3 and server 4 the URL shows not found. What mistake am I doing here? Kindly explain
2
answers
0
votes
34
views
asked 5 days ago
I am trying to create a free tier EC2 instance in N.virginia. The task fails with the error "This account is currently blocked and not recognized as a valid account. Please contact aws-verification@amazon.com if you have questions."Also tried with different region as Mumbai. In both the cases got the same message.
1
answers
0
votes
25
views
supriya
asked 5 days ago
when I scan my ec2 machine using aws patch manager, I am getting this error [ERROR]:**Error loading entrance module.** Traceback (most recent call last): File "/var/log/amazon/ssm/patch-baseline-operations/common_os_selector_methods.py", line 125, in _get_snapshot_info ssm_client = client_selector.get_default_client(instance_id, region, "ssm") File "/var/log/amazon/ssm/patch-baseline-operations/patch_common/client_selector.py", line 61, in get_default_client
1
answers
0
votes
23
views
Ram
asked 5 days ago
My understanding is that all lightsail instances are [burstable CPU instance types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html). Normal EC2 burstable instances can be launched in [unlimited mode](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances-unlimited-mode.html) for workloads that require high CPU at times and would prefer to pay for overages rather than get slowed down. Is this possible in Lightsail or would one have to move the instances into normal EC2/EBS deployments? It's unclear if account-level [default credit specifications](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances-how-to.html#burstable-performance-instance-set-default-credit-specification-for-account) apply to Lightsail instances, although I'd assume not.
1
answers
0
votes
19
views
Simon
asked 5 days ago
Hi, I'm developing a Java web application, based on Spring boot, which stores data in a MySql DB instance (single instance). It's a "light" application, in terms of use of resources. I'm looking for a Linux virtual machine that hosts my application and which also acts as ftp server. I think a T3 EC2 instance could be the best option for my needs. I used the pricing calculator, in order to have an idea about costs, but what I don't really understand is Amazon Elastic Block Store (EBS): is it the hard disk drive? Moreover, if i want to publish my application, in order to make it accessible from Internet, what can I do? Do I need to buy an extra "service"? Thank you, Andrea
1
answers
0
votes
26
views
A
asked 5 days ago
![Enter image description here](/media/postImages/original/IM__8iOu_3R-CdbhGNHatH4g) At the moment I can't change the instance type even when the instance is stopped. Can you enable this option? Thank you in advance.
1
answers
0
votes
13
views
asked 5 days ago
hi, Does anyone know why the private IP address of the MWAA web server keeps changing time to time? Example: i have an AWS MWAA environment and i created a DNS record in route53 against the IP address i get after running the dig command against the web server hostname, but the url stops working after few days and when i check the dig command again, i get a new IP. Any help would be great. Thanks.
1
answers
0
votes
13
views
asked 5 days ago
Hi I recently created a new EC2 Linux t2.micro instance and have downloaded the necessary resources to run a Minecraft server on it. However, while running the server, it starts loading, and within a minute the instance becomes unresponsive. I am then unable to perform any commands or SSH into it until I restart it. Does anyone have an idea as to what might be going on? Is it that the server doesn't have enough resources to run the server? I have run a Minecraft server on a t2.micro Windows instance before, and that worked fine, so I assumed Linux would be okay too. Any help would be much appreciated.
0
answers
0
votes
15
views
iTcxic
asked 5 days ago
I want to import an ami, I have followed all everything right on https://docs.aws.amazon.com/vm-import/latest/userguide/vmie_prereqs.html#vmimport-operating-systems and even watched a youtube tutorial yet everytime I try to import the ami it is stuck on progress 39 and doesn't do anything even if I wait for hours. Can I have some help?
1
answers
0
votes
9
views
asked 5 days ago