AWS-18-IAM-AWS CLI Installation-commands
AWS-18-IAM-AWS CLI Installation-commands
https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html
https://docs.aws.amazon.com/cli/latest/userguide/cli-services-s3-
commands.html#using-s3-commands-managing-buckets-creating
1.https://awscli.amazonaws.com/AWSCLIV2.msi
2.Windows Download and run the 64-bit Windows installer.
3.Open Command prompt and Run as An Administrator
4.aws --version
5.aws configure
cat ~/.aws/credentials
>Group Creation :
7.aws iam create-group --group-name Demo
>User Creation
C:\>aws iam create-user --user-name Duser
>Policy Attachment :
aws iam attach-user-policy --user-name Duser --policy-arn
arn:aws:iam::aws:policy/AmazonEC2FullAccess
4)List of S3 buckets
C:\>aws s3 ls
https://www.geeksforgeeks.org/launching-an-ec2-instance-using-aws-cli/
-----------------------------------------------------------------------------------
-------------------------
https://docs.aws.amazon.com/solutions/latest/instance-scheduler/scheduler-cli.html
delete-period:
--------------
$ scheduler-cli delete-period --name weekdays --stack Scheduler
{
"Period": "weekdays"
}
case-2:
delete-period:
-------------
$ scheduler-cli delete-schedule --name LondonOfficeHours --stack Scheduler
{
"Schedule": "LondonOfficeHours"
}
----------------------------------------------------------------------------