I had installed apache webserver on ec2 then to deploy auto scalling select previews AMI but apache webserver not install new instances why

0 votes
I had installed apache webserver on ec2 then to deploy auto-scaling select previews AMI but apache webserver not install new instances, why?

I want to go Linux instances then enter Linux machine  (>>service httpd start Hit enter )

then it will work and apache webservers also working. but I want  without entering Linux machine to deploy web server on auto-scaling
Mar 4, 2020 in AWS by G
• 140 points
315 views
Hi@G,

Are you attached IAM role in your launch configuration?

1 answer to this question.

0 votes
Hi@G,

You created your image by shutting down your EC2 instance. So every service that are in your EC2 instance also shut down automatically. That is why you have to restart your service again.

Hope it will clear your doubt.

Thank You
answered Mar 4, 2020 by MD
• 95,060 points

Related Questions In AWS

0 votes
0 answers
+1 vote
1 answer

i have configure docker on AWS EC2 instance but commands are not working inside docker container.

Hello @Aniket , The docker exec command runs a new command ...READ MORE

answered Aug 5, 2020 in AWS by Niroj
• 82,560 points
341 views
0 votes
1 answer

How do i install specific fonts on my instances?

Create a fonts/ folder in your application ...READ MORE

answered Aug 28, 2018 in AWS by Archana
• 4,150 points
1,173 views
0 votes
1 answer

Why I get AWS repository ARN could not be added to restrict access?

heh... answer my own question: I must ...READ MORE

answered Sep 21, 2018 in AWS by Priyaj
• 58,100 points
112 views
0 votes
1 answer