sebae banner ad-300x250
sebae intro coupon 30 off
sebae banner 728x900
sebae banner 300x250

Amazon VPC Lattice – EC2 ASG with IAM | Amazon Web Services

0 views
0%

Amazon VPC Lattice - EC2 ASG with IAM | Amazon Web Services

Demo on how to secure a VPC Lattice Service running on an EC2 Auto Scaling Group with IAM.

Commands used:

AWS_SESSION_TOKEN=$(curl http://169.254.169.254/latest/meta-data/iam/security-credentials/vpcl-admin | jq -r ‘.Token’)

AWS_ACCESS_KEY_ID=$(curl http://169.254.169.254/latest/meta-data/iam/security-credentials/vpcl-admin | jq -r ‘.AccessKeyId’)

AWS_SECRET_ACCESS_KEY=$(curl http://169.254.169.254/latest/meta-data/iam/security-credentials/vpcl-admin | jq -r ‘.SecretAccessKey’)

curl https://asg.demo.vpc-lattice.com
–aws-sigv4 "aws:amz:us-west-2:vpc-lattice-svcs"
–user "$AWS_ACCESS_KEY_ID:$AWS_SECRET_ACCESS_KEY"
–header "x-amz-security-token:$AWS_SESSION_TOKEN"
–header "x-amz-content-sha256:UNSIGNED-PAYLOAD"

Learn more at: https://go.aws/43t4jrE

Subscribe:
More AWS videos https://go.aws/3m5yEMW
More AWS events videos: https://go.aws/3ZHq4BK

Do you have technical AWS questions?
Ask the community of experts on AWS re:Post: https://go.aws/3lPaoPb

ABOUT AWS
Amazon Web Services (AWS) is the world’s most comprehensive and broadly adopted cloud platform, offering over 200 fully featured services from data centers globally. Millions of customers — including the fastest-growing startups, largest enterprises, and leading government agencies — are using AWS to lower costs, become more agile, and innovate faster.

#AmazonVPCLattice #Networking #AWS #AmazonWebServices #CloudComputing

Date: May 25, 2023