You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notice that we used "documents/" in the key name. This creates a logical folder structure in your bucket, even though S3 is actually a flat object store.
117
+
Notice that we used `documents/` in the key name. This creates a logical folder structure in your bucket, even though S3 is actually a flat object store.
118
118
119
119
## Download and verify objects
120
120
@@ -127,7 +127,7 @@ aws s3api get-object \
127
127
"downloaded-sample-file.txt"
128
128
```
129
129
130
-
The command downloads the object and saves it as "downloaded-sample-file.txt" in your current directory. The output provides metadata about the object:
130
+
The command downloads the object and saves it as `downloaded-sample-file.txt` in your current directory. The output provides metadata about the object:
Copy file name to clipboardExpand all lines: tuts/018-ecs-ec2/ecs-ec2-getting-started.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,7 +75,7 @@ Output:
75
75
}
76
76
```
77
77
78
-
The response shows that your cluster has been created successfully and is in the "ACTIVE" status. You can now launch container instances and run tasks in this cluster.
78
+
The response shows that your cluster has been created successfully and is in the `ACTIVE` status. You can now launch container instances and run tasks in this cluster.
This command creates a new key pair named "emr-tutorial-key" and saves the private key to a file called
33
-
"emr-tutorial-key.pem".
33
+
`emr-tutorial-key.pem`.
34
34
35
35
**Set proper permissions on the key file**
36
36
@@ -159,7 +159,7 @@ aws emr create-cluster \
159
159
--log-uri s3://amzndemo-s3-demo-bucket/logs/
160
160
```
161
161
162
-
Replace `your-key-pair-name` with the name of your EC2 key pair. In this tutorial, we use "emr-tutorial-key" as your key pair name.
162
+
Replace `your-key-pair-name` with the name of your EC2 key pair. In this tutorial, we use `emr-tutorial-key` as your key pair name.
163
163
This command creates a cluster with one primary node and two core nodes, all using m5.xlarge instances. The cluster will have Spark installed and will use the default IAM roles.
164
164
165
165
The command returns a cluster ID, which you'll need for subsequent operations:
@@ -179,7 +179,7 @@ Check the status of your cluster to see when it's ready:
The step is complete when its state changes to "COMPLETED":
233
+
The step is complete when its state changes to `COMPLETED`:
234
234
235
235
```json
236
236
{
@@ -267,7 +267,7 @@ You should see output similar to:
267
267
268
268
**Download and view results**
269
269
270
-
Download the results file to your local machine. Replace "part-00000-abcd1234-abcd-1234-abcd-abcd1234abcd-c000.csv" with the actual filename from your "aws s3 ls" output.
270
+
Download the results file to your local machine. Replace `part-00000-abcd1234-abcd-1234-abcd-abcd1234abcd-c000.csv` with the actual filename from your `aws s3 ls` output.
@@ -307,14 +307,14 @@ Step 1. Get your current IP address:
307
307
curl -s https://checkip.amazonaws.com
308
308
```
309
309
310
-
Step 2. Find your cluster's security group. Replace "j-1234ABCD5678" with your cluster ID.
310
+
Step 2. Find your cluster's security group. Replace `j-1234ABCD5678` with your cluster ID.
311
311
312
312
```bash
313
313
aws emr describe-cluster --cluster-id j-1234ABCD5678 --query 'Cluster.Ec2InstanceAttributes.EmrManagedMasterSecurityGroup' --output text
314
314
```
315
315
316
316
317
-
Step 3. Add SSH access rule to the security group. Replace "sg-xxxxxxxxx" with your security group ID that's returned in Step 2. Replace YOUR_IP_ADDRESS with the IP from
317
+
Step 3. Add SSH access rule to the security group. Replace `sg-xxxxxxxxx` with your security group ID that's returned in Step 2. Replace YOUR_IP_ADDRESS with the IP from
318
318
Step 1.
319
319
320
320
```bash
@@ -326,7 +326,7 @@ Step 1.
326
326
327
327
**Connect via SSH**
328
328
329
-
Use the following command to connect to the primary node of your cluster. Replace "j-1234ABCD5678" with your actual cluster ID. Replace "`~/path/to/your-key-pair.pem`" with the path to your key pair file. In this example, we use "`~/emr-tutorial-key`" as the path to your key pair.
329
+
Use the following command to connect to the primary node of your cluster. Replace `j-1234ABCD5678` with your actual cluster ID. Replace `~/path/to/your-key-pair.pem` with the path to your key pair file. In this example, we use `~/emr-tutorial-key` as the path to your key pair.
• **Connection timeout:** Verify that your security group allows SSH (port 22) from your IP
377
-
• **Permission denied:** Ensure your key pair file has correct permissions. Replace "`~/emr-tutorial-key.pem`" with the path to your key pair file. In this example, we use "`~/emr-tutorial-key`" as the path to your key pair.
377
+
• **Permission denied:** Ensure your key pair file has correct permissions. Replace `~/emr-tutorial-key.pem` with the path to your key pair file. In this example, we use `~/emr-tutorial-key` as the path to your key pair.
378
378
```
379
379
chmod 400 ~/emr-tutorial-key.pem
380
380
```
@@ -387,19 +387,19 @@ When you're finished with the tutorial, clean up your resources to avoid incurri
387
387
388
388
**Terminate the cluster**
389
389
390
-
Terminate your EMR cluster. Replace "j-1234ABCD5678" with your cluster ID.
390
+
Terminate your EMR cluster. Replace `j-1234ABCD5678` with your cluster ID.
Copy file name to clipboardExpand all lines: tuts/040-qbusiness-ica/qbusiness-ica.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,13 +26,13 @@ The total cost for running the resources in this tutorial for one hour is approx
26
26
27
27
Amazon Q Business uses IAM Identity Center for user management. In this step, you'll check if you have an IAM Identity Center instance and create one if needed.
28
28
29
-
First, check if you already have an IAM Identity Center instance. Replace "us-east-1" with the AWS Region where your IAM Identity Center instance is located.
29
+
First, check if you already have an IAM Identity Center instance. Replace `us-east-1` with the AWS Region where your IAM Identity Center instance is located.
30
30
31
31
```bash
32
32
aws sso-admin list-instances --region us-east-1 --query 'Instances[0].InstanceArn' --output text
33
33
```
34
34
35
-
If the command returns "None" or an empty result, you need to create an IAM Identity Center instance. Replace "us-east-1" with the AWS Region where you want to create your IAM Identity Center instance.
35
+
If the command returns `None` or an empty result, you need to create an IAM Identity Center instance. Replace `us-east-1` with the AWS Region where you want to create your IAM Identity Center instance.
Replace `g-abcd1234` with your workspace ID. The workspace status will initially be "CREATING". Wait until the status changes to "ACTIVE" before proceeding:
230
+
Replace `g-abcd1234` with your workspace ID. The workspace status will initially be `CREATING`. Wait until the status changes to `ACTIVE` before proceeding:
Wait for the status to show "SUCCEEDED" before proceeding.
183
+
Wait for the status to show `SUCCEEDED` before proceeding.
184
184
185
185
## Set up user access to applications
186
186
@@ -258,7 +258,7 @@ Here are some common issues you might encounter when setting up IAM Identity Cen
258
258
259
259
**Issue**: Asynchronous operations don't complete as expected.
260
260
261
-
**Solution**: Many IAM Identity Center operations are asynchronous, including account assignments and permission set provisioning. Always check the operation status using the appropriate describe command and wait for the status to show "SUCCEEDED" before proceeding to the next step.
261
+
**Solution**: Many IAM Identity Center operations are asynchronous, including account assignments and permission set provisioning. Always check the operation status using the appropriate describe command and wait for the status to show `SUCCEEDED` before proceeding to the next step.
262
262
263
263
**Issue**: Application creation fails with provider ARN errors.
0 commit comments