Luyện nói tiếng Anh bằng Shadowing qua video: IAM

Chọn chế độ luyện tập

Mỗi chế độ mở một phòng luyện tập toàn màn hình.

211 câu
Nếu các câu quá ngắn hoặc quá dài, hãy bấm Edit để chỉnh sửa.
1
Hey everyone!
2
Today I'd like to walk you through AWS Identity and Access Management, or IAM.
3
We'll take a look at how IAM works, how it controls access to AWS resources, and some common security best practices.
4
Rather than thinking of IAM as just a place to create users, I want you to think of it as the authorization control plane for AWS.
5
As engineers, we work with IAM all the time, even when we're not opening the IAM console.
6
EC2 instance roles, Lambda execution roles, CI, CD deployments, and cross -account access all depend on it.
7
One quick detail before we start.
8
IAM is a global service, even though the AWS services receiving requests may be regional.
9
All right, let's start with the problem IAM is designed to solve.
10
Two, what problem does IAM solve?
11
Okay, let's take a look at the three columns here.
12
Before IAM, IAM itself, and the outcome.
13
On the left, imagine an environment where developers share credentials, applications store static access keys,
14
administrators review access manually, and delegating permissions across teams is difficult.
15
That's hard to secure and even harder to scale.
16
Those weren't the best times, right?
17
In the middle, IAM gives us a central way to define policies, use roles and federation, issue temporary credentials,
18
and apply guardrails with auditing.
19
On the right, those capabilities help us achieve least privilege, cross -account access, automated deployments, and traceable API calls.
20
Of course, IAM doesn't automatically make our permissions secure.
21
We still have to design them correctly.
22
Here's a real -world example at the bottom.
23
Basically, when a workflow runs, it can request an OIDC token and use that token to authenticate with AWS.
24
Now, AWS checks the role's trust policy to make sure the workflow is allowed to assume that role.
25
if everything checks out aws sts provides temporary credentials
26
which the workflow can then use to deploy resources based on the permissions assigned to that role
27
and here's the important part we don't need to store any long -lived aws access keys in github
28
so essentially we're moving away from permanent credentials and toward a more secure approach where access is temporary and controlled.
29
03. What is IAM?
30
All right, so what exactly is IAM?
31
At a high level, IAM helps control who can do what in AWS, on which resources, and under which conditions.
32
Look at the three blocks across the top.
33
First, principles.
34
These are the identities making requests.
35
IAM users, assumed roles, federated identities, and AWS services.
36
Second, policies.
37
These are the authorization rules.
38
The slide mentions identity -based policies, resource -based policies, trust policies,
39
permissions boundaries, and service control policies, or SCPs.
40
Third, STS and sessions stands for AWS Security Token Service,
41
which issues temporary credentials, and sessions can carry tags used in authorization.
42
Now look at the middle statement, where IAM sits.
43
IAM is the Global Identity and Permissions Control Plane.
44
When a request reaches a target AWS service, AWS evaluates the relevant authorization controls and either allows or denies the operation.
45
And the three labels at the bottom matter too.
46
Managed means AWS runs the underlying IAM infrastructure.
47
Global means IAM identities are associated with AWS accounts, not individual VPCs.
48
API first means we can manage users, roles, and policies through APIs and infrastructure as code, including Terraform.
49
04. How IAM works.
50
Request evaluation.
51
Alright, so now that we understand the basics of IAM, let's take a look at what actually happens when someone makes a request to AWS.
52
If you look at the diagram, we have four steps here.
53
First, we have the principle.
54
Basically, this is whoever or whatever is making the request.
55
It could be a user, an application, or an AWS service.
56
The request is typically signed using AWS credentials, such as an access key.
57
And if we're using temporary credentials, there's also a session token involved.
58
Now, moving to step two, we have the request context.
59
This is where AWS looks at what the principal is actually trying to do.
60
For example, which API action is being requested?
61
Which resource are we trying to access?
62
And depending on the request, AWS can also consider additional information like resource tags, source IP addresses, MFA, or organization membership.
63
So essentially, AWS needs to understand not just who's making the request, but also what they're trying to do and under which conditions.
64
All right, now step three is probably the most important one, policy evaluation.
65
And here's the key rule to remember.
66
An explicit deny always takes precedence over an allow.
67
So even if a role has permissions to perform an action, another policy might still block it.
68
For example, that could be an SCP, a permissions boundary, or a session policy.
69
Now, if there's no explicit deny, AWS checks whether the request has the necessary permissions.
70
If there's an applicable allow and no other restrictions block it, the request can proceed.
71
Otherwise, it's denied by default.
72
That's what we call an implicit deny.
73
Now, if you look at the bottom of the slide, there's one important thing I want you to remember.
74
Whenever you're troubleshooting an IAM permission issue, start with four simple questions.
75
Who's making the request?
76
What action are they trying to perform?
77
Which resource are they accessing?
78
And under what conditions?
79
If you can answer those four questions, you're already in a much better position to understand why AWS is allowing or denying the request.
80
All right, so now that we've covered how IAM evaluates requests, let's move on to the core components that make all of this work.
81
05. Core Components All right, so now that we've seen how IAM evaluates requests,
82
let's take a closer look at the main components that make all of this work.
83
As you can see on the slide, we have eight components here.
84
So let's quickly walk through each one.
85
First, we have IAM users.
86
Basically, an IAM user represents an individual identity within an AWS account.
87
Now, IAM users can have long -term credentials such as passwords or access keys.
88
But here's the thing.
89
In modern AWS environments, we generally try to avoid using permanent access keys, especially for applications and automated workloads.
90
Instead, we prefer roles and temporary credentials.
91
Next, we have groups.
92
Groups are pretty straightforward.
93
They allow us to organize IAM users and assign permissions to multiple users at once.
94
For example, instead of attaching the same policy to 10 different users, we can create a group and manage those permissions in one place.
95
All right, moving on to roles.
96
And this is probably one of the most important components in modern AWS architectures.
97
A role is an identity that can be assumed by an authorized principle.
98
For example, an EC2 instance, a Lambda function, a user from another AWS account,
99
or even a GitHub Actions workflow can use a role.
100
Now, let's talk about policies.
101
Policies are basically JSON documents that define permissions.
102
They specify which actions are allowed or denied, which resources those actions apply to, and sometimes additional conditions.
103
And as you can see, we have different types of policies, including identity -based and resource -based policies.
104
Now, right below that, we have trust policies.
105
And here's an important distinction.
106
A trust policy defines who is allowed to assume a role.
107
A permissions policy defines what that role is allowed to do once it's assumed.
108
So, for example, a GitHub Actions workflow.
109
Its actual permissions still depend on the policies and restrictions that apply to the role session.
110
All right, next we have STS, or Security Token Service.
111
STS is responsible for issuing temporary AWS credentials.
112
Now, moving on to Access Analyzer.
113
This is a really useful service from a security perspective.
114
It helps us identify resources that may be accessible from outside our intended trust boundaries.
115
It can also help us detect unused access and validate IAM policies.
116
And finally, we have MFA and credential management.
117
This is mainly about protecting human access, especially privileged users and the root account.
118
MFA adds another layer of authentication, while proper credential management helps reduce the risks associated with long -lived access keys.
119
Zero.
120
All right, so now let's take a look at security.
121
As you can see on the left side of the slide, we have a bad security practice.
122
Basically, we're allowing a very broad trust relationship without properly restricting who can assume the role.
123
Not exactly what we want in production, right?
124
Now, on the right, we have a much better approach.
125
And this is where the zero trust security concept comes in.
126
The main idea is pretty simple.
127
Never trust anyone by default.
128
Instead, we explicitly define who can assume the role and under which conditions.
129
Verify identities, restrict trust relationships, and follow the principle of least privilege.
130
07. Real -world use cases.
131
All right, so now let's take a quick look at some real -world use cases where IAM plays an important role in production.
132
As you can see on the slide, we have several common scenarios.
133
Healthcare workloads.
134
Here, security and audibility are especially important.
135
We use least privileged roles, CloudTrail for auditing, MFA, and controlled emergency access to protect sensitive environments and maintain separation of duties.
136
For CI -CD pipelines, we typically use OIDC Federation with GitHub, GitLab, or Jenkins to assume deployment roles without storing permanent AWS credentials.
137
For microservices, each service gets its own IAM role, with scoped access to resources like S3, SQS, SNS, or KMS.
138
For data pipelines, services like
139
Glue, EMR, and Lambda use dedicated roles with restricted S3 and KMS permissions.
140
In cross -account environments, a shared tooling account can assume roles across different AWS accounts.
141
And finally, for monitoring, we can provide read -only access to tools like Datadog using cross -account roles and external IDs where appropriate.
142
So the main takeaway here is pretty simple.
143
Regardless of the architecture, we want to avoid shared credentials, isolate permissions, and follow the principle of least privilege.
144
8 .08, Pricing and Cost Optimization, General American Transcription.
145
Let's switch to cost.
146
The headline on this slide is important.
147
IAM itself is usually not what drives a bill.
148
But here's the thing.
149
Some of the services we use alongside IAM can generate costs.
150
For example, IAM Access Analyzer offers external access analysis at no additional charge,
151
but features like unused access analysis and custom policy checks may incur charges.
152
Now let's take a look at the example at the bottom left.
153
Imagine we have 10 AWS accounts with 200 IAM roles and five CICD pipelines in each account.
154
That's 2 ,000 roles and 50 pipelines in total.
155
And the interesting part is that we don't pay for the IAM roles themselves or standard STS usage.
156
Instead, the costs come from the security, monitoring, and networking services we enable around them.
157
Now, moving over to the right, we have a few optimization strategies.
158
We can use OIDC Federation instead of permanent access keys, reuse managed policies where appropriate,
159
remove unused roles, and configure CloudTrail data events based on our actual auditing requirements.
160
We can also use
161
Access Analyzer to identify unnecessary permissions and improve lease privilege.
162
And of course, we don't want to compromise security just to save money.
163
The goal is to configure these services efficiently while maintaining the right level of protection.
164
9. Reference Architecture Alright, so now let's put everything together and look at how it works in a real -world CICD architecture.
165
As you can see on the slide, we have a pretty common deployment workflow using GitHub Actions, IAM, AWS STS, and Terraform.
166
So let's walk through it from left to right.
167
First we have GitHub Actions.
168
When a pipeline starts, GitHub can generate an OIDC token containing information about the repository and branch.
169
Next, we have the IAM role trust policy.
170
This is where AWS verifies whether the workflow is allowed to assume the role.
171
Now moving over to Terraform.
172
Terraform uses those temporary credentials to deploy infrastructure changes.
173
But remember, Terraform can only perform actions allowed by the role's permissions and other applicable security controls.
174
Now, let's take a quick look at the bottom of the diagram.
175
On the left we have S3, which stores the Terraform state.
176
Access to that bucket is restricted to authorize roles.
177
Next we have EKS, ECS, and Lambda, which represent the AWS services Terraform might deploy or update.
178
Then we have CloudTrail, which records supported AWS API activity.
179
And finally, CloudWatch provides monitoring through events and metrics.
180
So essentially all these components work together to provide a secure and auditable deployment process.
181
So essentially all these components work together to provide a secure and auditable deployment process.
182
10 Production Best Practices Checklist general American transcription.
183
Let's quickly go through some production best practices.
184
So let's start with the top five.
185
First, always prefer IAM roles and temporary credentials over permanent access keys.
186
Second, make sure your trust policies are properly scoped.
187
We want to explicitly control who can assume a role rather than allowing broad access.
188
Third, follow the principle of least privilege.
189
Fourth, implement security guardrails, such as SEPs, permissions boundaries, MFA, and controlled emergency access.
190
And fifth, enable auditing and monitoring.
191
Use CloudTrail to track IAM activity and configure alerts for potentially risky changes.
192
Now, if you look at the bottom of the slide, we have three additional areas to consider.
193
From a security perspective, protect their root account, enforce MFA, and use conditions and explicit deny policies where appropriate.
194
For reliability, remember that IAM changes can take time to propagate,
195
so we should avoid making unnecessary IAM changes during critical application operations.
196
And finally, from an operations perspective, manage IAM policies through infrastructure as code.
197
Use code reviews, validate policies, and follow consistent naming standards.
198
Final recap.
199
All right, so before we wrap up, let's quickly recap what we've covered today.
200
We started by looking at what IAM is and why it's important for managing access to AWS resources.
201
We learned how IAM evaluates requests, how policies work, and why an explicit deny always takes precedence over an allow.
202
Then we looked at security best practices, including zero trust, least privilege, temporary credentials, and MFA.
203
We also explored some real -world use cases and saw how OIDC CICD deployments without permanent AWS access keys.
204
And finally, we discussed cost optimization, auditing, and production best practices.
205
IAM isn't just about managing users and permissions.
206
It's about building a secure, scalable, and auditable access model across AWS.
207
And that's exactly what we want in production.
208
Alright, that's everything I wanted to cover today.
209
Thanks for watching!
210
Thanks, everyone.
211
I'm happy to take any questions.

Tải Ứng Dụng

Mọi thứ bạn cần để nói trôi chảy

Chấm điểm AIChấm từng câu nói
Luyện IPAThành thạo mọi âm
Từ vựngMở rộng vốn từ
Game Từ vựngHọc qua chơi

Cùng kênh

FOR YOU

Video gợi ý

Từ vựng và ghi chú luyện nói cho bài học này

Những từ được nhắc lại nhiều nhất trong bài: Iam, aws, role, access, permission. Video này có 211 câu và 2425 từ để luyện shadowing. Phần lời nói dài 18:12. Người nói giữ tốc độ đều, khoảng 133 từ mỗi phút, vừa sức để nói đuổi theo. Chỉ 76% số từ nằm trong 3.000 từ tiếng Anh thông dụng nhất, nên từ vựng khá khó.

Từ vựng quan trọng trong video

15 từ đáng học trong video, kèm phiên âm và nghĩa:

TừPhiên âmNghĩa
temporary tính từ/ˈtɛmp(əˌɹ)ɛɹi/tạm thời, lâm thời
deny động từ/dəˈnaɪ/chối, chối bỏ
slide danh từ/ˈslaɪ̯d/cầu trượt, cầu tuột
privilege danh từ/ˈpɹɪv.(ɪ.)lɪd͡ʒ/đặc quyền
component danh từ/kəmˈpoʊ.nənt/bộ phận
principle danh từ/ˈpɹɪn.sɪ.pəl/nguyên lí, nguyên tắc
resource danh từ/ɹɪˈzɔːs/tài nguyên
infrastructure danh từ/ˈɪnfɹəˌstɹʌkt͡ʃə/cơ sở hạ tầng
architecture danh từ/ˈɑː.kɪˌtɛk.t͡ʃə/kiến trúc
monitor danh từ/ˈmɑ.nɪ.tɚ/pháo thuyền, pháo hạm
explicit tính từ/ɪkˈsplɪs.ɪt/rõ ràng
restrict động từ/ɹɪˈstɹɪkt/hạn chế
federation danh từ/ˌfɛdəˈɹeɪ̯ʃən/liên bang
solve động từ/sɒlv/giải quyết
default danh từ/dɪˈfɔlt/mặc định

Cụm động từ bạn sẽ nghe

TừNghĩa
check out động từtính tiền, trả phòng

Những câu đáng luyện lại

Các câu ngắn, trọn ý trong video mà bạn có thể dùng lại khi giao tiếp hằng ngày:

  • Which resource are we trying to access?
  • That's what we call an implicit deny.
  • Let's quickly go through some production best practices.
  • Alright, that's everything I wanted to cover today.
  • I'm happy to take any questions.

Ngữ pháp trong video

Những cấu trúc người nói dùng nhiều nhất, kèm đúng cụm từ trong video:

Cấu trúcTrong video
Câu bị động be + quá khứ phân từ — nhấn vào việc xảy ra, không phải người làmis designed · is allowed · are associated
Thì hiện tại hoàn thành have/has + quá khứ phân từ — việc đã xảy ra nhưng còn liên quan đến hiện tạiwe've covered · we've seen

Phát âm cần chú ý

Người nói dùng 19 dạng rút gọn, ví dụ we're, don't, we've. Hãy nói theo dạng ngắn đúng như bạn nghe.

  • Âm “th”: authorization /ˌɔːθəɹaɪˈzeɪʃən/, authorize /ˈɔθəɹaɪz/, authenticate /ɔˈθɛn.tɪ.keɪt/, authentication /ɔːˌθɛntɪˈkeɪʃn̩/
  • Âm “sh” và “zh”: essentially /ɪˈsɛnʃəli/, authorization /ˌɔːθəɹaɪˈzeɪʃən/, federation /ˌfɛdəˈɹeɪ̯ʃən/, optimization /ˌɑptəmaɪˈzeɪʃən/, evaluation /ɪˌvæljuˈeɪʃn̩/
  • Từ dài — đặt trọng âm cho đúng: temporary /ˈtɛmp(əˌɹ)ɛɹi/, infrastructure /ˈɪnfɹəˌstɹʌkt͡ʃə/, architecture /ˈɑː.kɪˌtɛk.t͡ʃə/, essentially /ɪˈsɛnʃəli/, authorization /ˌɔːθəɹaɪˈzeɪʃən/

Những âm người Việt thường gặp khó:

  • Cụm phụ âm cuối — đọc đủ từng âm, đừng nuốt âm cuối: component /kəmˈpoʊ.nənt/, deployment /dɪˈplɔɪmənt/, restrict /ɹɪˈstɹɪkt/, unused /ʌnˈjuzd/, solve /sɒlv/
  • Âm /tʃ/, /dʒ/ và /ʒ/ — tiếng Việt không có, đừng đọc thành “ch” hay “gi”: privilege /ˈpɹɪv.(ɪ.)lɪd͡ʒ/, infrastructure /ˈɪnfɹəˌstɹʌkt͡ʃə/, architecture /ˈɑː.kɪˌtɛk.t͡ʃə/, generate /ˈd͡ʒɛn.ə.ɹeɪt/, usage /ˈjuːsɪd͡ʒ/
  • Âm /æ/ — mở miệng rộng hơn âm “e”: tag /tæɡ/, evaluation /ɪˌvæljuˈeɪʃn̩/, diagram /ˈdaɪ.ə.ɡɹæm/, transcription /tɹænˈskɹɪpʃən/, wrap /ɹæp/

Cách luyện với video này

  1. Nghe hết video một lần, chưa cần nói, và ghi lại những từ bạn chưa biết.
  2. Nói đuổi từng câu ở tốc độ bình thường, lặp lại mỗi câu đến khi nhịp của bạn khớp với người nói.
  3. Ghi âm giọng mình rồi so với bản gốc, chú ý các từ như temporary, deny, slide.

Phương Pháp Shadowing Là Gì?

Shadowing là kỹ thuật học ngôn ngữ có cơ sở khoa học, ban đầu được phát triển cho chương trình đào tạo phiên dịch viên chuyên nghiệp và được phổ biến rộng rãi bởi nhà đa ngôn ngữ học Dr. Alexander Arguelles. Nguyên lý cốt lõi đơn giản nhưng cực kỳ hiệu quả: bạn nghe tiếng Anh của người bản xứ và lặp lại to ngay lập tức — như một "cái bóng" (shadow) đuổi theo người nói với độ trễ chỉ 1–2 giây. Khác với luyện ngữ pháp hay học từ vựng bị động, Shadowing buộc não bộ và cơ miệng phải đồng thời xử lý và tái tạo ngôn ngữ thực tế. Các nghiên cứu khoa học xác nhận phương pháp này cải thiện đáng kể phát âm, ngữ điệu, nhịp điệu, nối âm, kỹ năng nghe và độ lưu loát khi nói — đặc biệt hiệu quả cho người luyện IELTS Speaking và muốn giao tiếp tiếng Anh tự nhiên như người bản ngữ.

Phương pháp shadowing: đọc hướng dẫn từng bước đầy đủ →