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
575 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,360 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,780 points
849 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP