Trong trường hợp đang để cùng CIDR giữa các AWS Account

CIDR giữa các AWS Account khác nhau thì có thể nhận dạng unique không

Share Everywhere

Table of contents

Trong trường hợp đang để cùng CIDR giữa các AWS Account khác nhau thì có thể nhận dạng unique/duy nhất bằng VpcSourceIp là IAM Policy Condition không

Bạn có thể tham khảo kiểm chứng của tôi phía dưới đây:

Bước 1: Tạo VPC

  • – Ở tài khoản A, tạo VPC (CIDR:19x.16x.1.0/24), S3 VPC Endpoint (Gateway type)
  • – Ở tài khoản B, tạo VPC (CIDR:19x.16x.1.0/24), S3 VPC Endpoint (Gateway type)

Bước 2: Tạo 1 IAM user ở tài khoản A, và gắn IAM policy cho IAM user.

Bước 3: Chạy lại câu lệnh `aws s3 ls` ở EC2 instance thì câu lệnh thực thi thành công.

=> Kết luận

Không,”aws:VpcSourceIp” không thể nhận dạng được VPC của AWS Account A và AWS Account B.

Bạn thấy bài viết này như thế nào?
1 reaction

Add new comment

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.

Bài viết liên quan

Khám phá FinOps

Khám phá FinOps - công nghệ đám mây

Nhiều doanh nghiệp ngày nay lựa chọn chuyển sang công nghệ đám mây với hi vọng đạt được lợi thế cạnh tranh so với đối thủ nhờ tiềm năng về hiệu quả cao và tiết kiệm chi phí hơn của công nghệ này.
Microservices Roadmap

Microservices Roadmap

- Kafka, RabbitMQ, Amazon SQS: Efficient and reliable message brokers for seamless communication between microservices.
The Data Analyst Roadmap

The Data Analyst Roadmap

**Database Knowledge**: Gain proficiency in working with databases like MySQL, PostgreSQL, or MongoDB.
Architectural patterns in software design

Architectural patterns in software design

Choose the architecture that aligns with your application's unique needs and goals. Each pattern offers a tailored approach to elevate your software system!
Exploring the Technological Marvel Behind Netflix

Exploring the Technological Marvel Behind Netflix

Ever wondered about the tech wizardry that powers your binge-watching adventures on Netflix?