Questions tagged with Amazon EC2
Content language: English
Sort by most recent
Hello everyone, as a complete beginner in AWS, I'm following a coursera course for AWS beginners. One of the first exercises is to create a EC2 instance via the AWS console. They provide us with a little script that boots up on an app on the virtual machine, and should then be accessible with an HTTP call on the public IP. I don't what's exactly going on but it seems that the page is loading forever and then times out when I try to access it on a web browser at the address http://<public-ip-address> Does anyone know what could be going on ? Here are the details of the EC2 instance I've launched : Amazon Linux AMI t2.micro HTTP protocol (source: everywhere) I've configured a key pair default VPC chose first subnet ![subnet](/media/postImages/original/IMf2NUIq3bRGaWDyihOOMz1A) ![subnetmapping](/media/postImages/original/IMSEVBK6LdS3WwRIvIJeT2yw) I also have an error when trying to use EC2 Instance Connect. (maybe because I have only configured HTTP and not SSH) ``` Failed to connect to your instance EC2 Instance Connect is unable to connect to your instance. Ensure your instance network settings are configured correctly for EC2 Instance Connect. For more information, see Set up EC2 Instance Connect at https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-connect-set-up.html. ``` If anyone could help me debug this, that would be really helpful. Thank you for reading me !
while accessing the EC2 dashboard Iam getting "An error occurred retrieving supported platforms" error message.Could you please help me to resolve this issue ![EC2 dash board error](/media/postImages/original/IMYI4tUOoiRguFDTse0nWS8g)
Hello, Can somebody tell me the right option for the below question? The customer has an existing application running on a fleet of EC2 spot instances. This application processes millions of messages from SQS and generates CSV to be stored in s3. Customer is considering to move to ECS farget. What changes will be needed? a. Continue to use spot instances and bundle the app as a docker image. b. moving to containers is not recommended because containers will add overheads c. consider using the self-launch mode to migrate the existing ec2 instances to farget launch mode d. use DMS service to port the application
I am trying to get a handle on how to you define an ALB, its Listeners, Target group and Security groups in a CF Template. So I wrote out this sudo code listing. Is this correct if the ALB is Internal, listening on port 443 for traffic and sending that traffic to port 80 on the instance webserver? * ALB * Properties: * Type: internal * Listener: 80 * Listener: 443 * Subnets * SecurityGroups * LBAttributes * ALBListener80 * Properties: * Reference: ALB * Port: 80 * Redirect rule to port 443 * ALBListener443 * Properties: * Reference: ALB * Port: 443 * SSL Policy * Certificate * Forward rule to ALBTarget80 * ALBTarget80 * Properties: * Port: 80 * VPCid * TargetgroupAttributes * Registered instance(s) * Healthcheck * Check port 80 * ALBSecurityGroup * Ingress rules: * Allow port 80 from VPC CIDR * Allow port 443 from VPC CIDR * Egress rules: * Allow port 80 to InstanceSecurityGroup * Allow port 443 to InstanceSecurityGroup * Allow All traffic to 127.0.0.1/32 * InstanceSecurityGroup * Ingress rules: * Allow port 80 from VPC CIDR * Allow port 443 from VPC ALBSecurityGroup * Egress rules: * Allow all to 0.0.0.0/0 Am I looking at this correctly?
we need to install Chinese fonts on one of our EC2 amazon Linux servers, anybody luck with that ?
First-off, I am accessing VM from Android. Free Tier AWS EC2 Linux 2 with MATE desktop pre-installed, starts/boots in CLI !? Connection through SSH Client from Android has been established smoothly & works fine. The root passed has been set up too. The systemctl has been set to default on boot to desktop. sudo systemctl set-default graphical.target **Despite all that the reboot defaults in cli, how do manage to initialize MATE desktop?**
I am new to AWS E2. I have allocated an elastic IP address successfully. But when I tried to associate it with a running instance, there is no instance listed on the web console. I tried searching and reading how elastic IP address works, but did not see anything that is about this issue. (the instance has beenn running well with a public address). anyone out there can help?
Hello, We have tomcat servers with latest tomcat 8.5.* installed from amazon-linux-extras The latest version now is **184.108.40.206** But in the Apache Tomcat site https://tomcat.apache.org/download-80.cgi, they have this latest version 8.5.87 Could you please advise why AL2 doesn't have the latest tomcat version? Thanks
I have diffrent account which I opened in order to test free tier couple years ago and I closed the instance within a month. To day and I wanted to use the free tier plan and wanted to know if this is against any of Aws policies?
Hello, my goal is to launch ec2 instances from Python code. For now I’m launching them by using launch templates. I need to create an alarm for each instance but I don’t know how to assign alarm to launch template(if it is possible). Maybe there is a different approach for that? The main idea behind alarms is that they will stop instance if it is inactive.
Hello. When my friend set up ec-2 machine with aws account, 32 cpu limit was defined for him, but 8 cpu limit is defined for me. what is the reason of this ?
From looking at the docs, it seems that this kernel version is supported. I'm running an EC2 ubuntu instance. Do I need to downgrade to 5.10?