Рет қаралды 98
How To Avoid SSH with default ec2-user | Prevent FedRAMP | How to create a custom user in AWS EC2 #fedramp #user #sshorts
How to delete a user from the AWS Linux ec2 instance
userdel -r cloudtech
How to List Users from the AWS Linux ec2 instance
getent passwd
---------------------------------------------------------------------------------------------
AWS CLI create ec2 instance | How to create an ec2 instance in AWS using CLI ⏩ • AWS CLI create ec2 ins...
How to Connect AWS EC2 by AWS Session Manager ⏩ • How to Connect AWS EC2...
Create an EC2 Instance with EC2 User Data Script ⏩ • Create an EC2 Instance...
Amazon Route 53 ⏩ • How to Connect Godaddy...
How To Create an AWS Windows Server EC2 Instance ⏩ • How To Create an AWS W...
AWS Tutorial For Beginning ⏩ • AWS Tutorial For Begin...
CloudFront Distribution ⏩ • AWS CloudFront | Cloud...
AWS Jump Box/Bastion Hosts ⏩ • AWS Bastion Host | AWS...
AWS Toolkit for JetBrains/PyCharm ⏩ • Run Locally & Deploy a...
AWS SAM CLI Setup Guide ⏩ • AWS SAM CLI Setup Guid...
Steps to Create Serverless Application Run locally and deploy In AWS ⏩ • Steps to Create Server...
AWS CodeCommit | Git with IAM Role on EC2 Instances ⏩ • AWS CodeCommit | Git w...
How to Connect AWS EC2 by AWS Session Manager ⏩ • How to Connect AWS EC2...
How to Create AWS RDS database ⏩ • How to Create PostgreS...
How to create MySQL Server on AWS EC2 Instance ⏩ • How to create MySQL Se...
-----------------------------------------------------------------------------------------
How to schedule EC2 Start/Stop based on Tag using AWS Lambda ⏩ • How to schedule EC2 St...
AWS DynamoDB ⏩ • AWS DynamoDB | DynamoD...
AWS IAM Role ⏩ • Create an AWS IAM Role...
AWS Lambda function ⏩ • AWS Lambda function | ...
===========================================================
AWS lambda layers Step by Step Guide ⏩ • AWS lambda layers Step...
============================================================
Diffrent use case of AWS Lambda 👇
1✅ API Gateway to REST endpoint⏩ • How to trigger AWS lam...
2✅ Event processing Lambda with SNS ⏩ • Trigger Lambda from SN...
3✅ File upload processing AWS Lambda with s3 ⏩ • AWS S3 File Upload + L...
4✅ Step function ⏩ • AWS Step Functions wit...
5✅ Serverless Cron Job scheduling ⏩ • How to schedule EC2 St...
6✅How to read a file from S3 with the Python SDK ⏩ • How to read a file fro...
7✅Trigger Lambda from SNS ⏩ • Trigger Lambda from SN...
============ My other courses are available here ========= 👇
AWS Tutorial For Beginners ⏩ • AWS Tutorial For Begin...
Azure Training Videos ⏩ • Azure Tutorial For Beg...
AWS Free Tier ⏩ • AWS Free Tier 2023 | T...
How to Create AWS Account Free in 10 Minutes ⏩ • How to Create AWS Acco...
✅Don't forget to Subscribe to our Channel to learn more about cloud Technologies, Thank you: / @cloudaws
---------------------------
SSH into your EC2 instance using the default ec2-user
sudo adduser cloudtech
sudo usermod -aG wheel cloudtech
sudo su - cloudtech
mkdir .ssh
chmod 700 .ssh
touch .ssh/authorized_keys
chmod 600 .ssh/authorized_keys
vi .ssh/authorized_keys
Paste the public key into this file, save it, and exit the text editor.
--------------------------------------------------------------
sudo adduser cloudtech
echo "cloudtech:password" | chpasswd
sudo usermod -aG wheel cloudtech
sudo mkdir /home/cloudtech/.ssh
sudo chmod 700 /home/cloudtech/.ssh
sudo cp /home/ec2-user/.ssh/authorized_keys /home/cloudtech/.ssh/
sudo chown -R cloudtech:cloudtech /home/cloudtech/.ssh
sudo chmod 600 /home/cloudtech/.ssh/authorized_keys
-------------------------------------------------------------------------------------------
#aws #devops #devopsroles #cloudaws #awsdevops #awseni #awscertified
#awsdatabasemigrationservice #dms #on-prem #On-premises #datasync
#Boto3Course #certification #awscertifications #codecommunity #codecommit #migration #migrating #sourcecode #management #code #deploy #cli #awscli #termination #accidental #protect #protection #enable #devops #certification #cloudpractitioner
#cloudcomputing #tutorial #awsdemo #awsdevops Projecc #aws #PythonBoto3 #iam #security #awstoolkit #toolkit #pycharm #intelij #sam #sereverlessapplication #vpc #jumpbox #bastions #goodbye
#snapshot #amazonmachineimage #AMI #iam #accesskey #rotation #roadmap #awsroadmap #beginners