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 in AWS by G
• 140 points
222 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 by MD
• 57,960 points

Related Questions In AWS

+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 in AWS by Niroj
• 60,180 points
99 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
922 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
• 57,660 points
89 views
0 votes
1 answer