How to create user and password in Windows EC2 instance using boto3 Script

0 votes
Hi,

I have a windows EC2 instance on AWS Cloud. I would like to create user and password using boto3 from my local system. Is possible to create user credentials using boto3?
Sep 23, 2020 in DevOps on Cloud by Lakshminarayanan
• 1,370 points
2,229 views

1 answer to this question.

0 votes
Hi,

I don't think AWS will allow you to create new user. By default, you will get Administrator username in your Windows instance.
answered Sep 23, 2020 by MD
• 95,460 points
yes bro, i agreed. But i need some other user than Administrator. So i need to create user in windows instance. Is possible to do with boto3?
Hi,

Yes, I understood your requirement. But according to my knowledge, you can't even create a user in another way also. Did you find any official AWS documentation regarding this?
Not yet bro. Thats why i come here for solution. Any other script to create user than boto3?

Hi,

Yes. we are always here to help you. But the thing is that the concept should exit in AWS. For example, if you consider a Linux system, then you need to login ec2-user or may be another user according to AMI. Same for Windows as well. Go to your AWS dashboard and connect from there. You will get a file. That file can only be accessible by Administrator.

Except boto3, can we create any user in windows instance by any script?
Hi,

According to me, you can't do this by any script. Windows instance works on the RDP protocol.

Related Questions In DevOps on Cloud

+1 vote
3 answers
0 votes
0 answers

How to mount the S3 bucket using IAM role or S3fs and use in ElasticBeanstalk

Hi Team, Can you please confirm how we ...READ MORE

Sep 20, 2019 in DevOps on Cloud by rahulkathpal
• 120 points
2,086 views
0 votes
1 answer
+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
3,989 views
+2 votes
1 answer
0 votes
1 answer

How to use the pipeline setup and deploy the war file using the ansible,docker and kubernettes

Hi@Venkata, You can create an Ansible-Playbook to deploy ...READ MORE

answered Sep 1, 2020 in DevOps on Cloud by MD
• 95,460 points
1,025 views
0 votes
1 answer

How to use aws-cli commands inside Boto3?

Hi@Lakshminarayanan, I am not able to understand the ...READ MORE

answered Sep 21, 2020 in DevOps on Cloud by MD
• 95,460 points
5,627 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP