Need help to deploy the IIS websites and windows services into EC2 machines using automation

0 votes
Hi All, I am looking for help to deploy the IIS websites and windows services into EC2 machines AWS through PowerShell or any sort of automation.

Can anyone help me by providing some scripts or any pointers?
Thanks in advance.
Ashok
Oct 23, 2020 in AWS by anonymous
• 19,620 points
150 views

1 answer to this question.

0 votes
Hey, you could automate this scenario using Ansible.

If you're familiar with ansible, these may be helpful.

Setting up a Windows Host — Ansible Documentation:

https://docs.ansible.com/ansible/latest/user_guide/windows_setup.html

https://docs.ansible.com/ansible/latest/modules/ec2_instance_module.html

win_service – Manage and query Windows services — Ansible Documentation

https://docs.ansible.com/ansible/latest/modules/win_service_module.html

win_iis_website – Configures a IIS Web site — Ansible Documentation

https://docs.ansible.com/ansible/latest/modules/win_iis_website_module.html

Hope this helps!
answered Oct 23, 2020 by Vikas

Related Questions In AWS

0 votes
1 answer
+1 vote
1 answer

How to add SSL certificate to AWS EC2 with the help of new AWS Certificate Manager service

refer this link  https://aws.amazon.com/certificate-manager/faqs/ You can't install the certificates ...READ MORE

answered Jul 19, 2018 in AWS by Priyaj
• 58,140 points
735 views
0 votes
1 answer

Create Snapshot of EBS and attach to EC2 using Terraform

You can also create a snapshot using ...READ MORE

answered Oct 29, 2018 in AWS by Priyaj
• 58,140 points
1,112 views
0 votes
1 answer

How to Pass the VPC ID while creating the Ec2 instance in AWS using Python Boto3

import boto3 ec2 = boto3.resource('ec2') instance = ec2.create_instances( ...READ MORE

answered Jan 29, 2019 in AWS by Priyaj
• 58,140 points
1,602 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
1,288 views
+2 votes
1 answer