Skip to content

Commit 27a6591

Browse files
author
“Zelaikha
committed
Added in additonal note explaining the difference between the free tier and pro
1 parent 77c9716 commit 27a6591

File tree

1 file changed

+50
-50
lines changed

1 file changed

+50
-50
lines changed

notebooks/GenAI/AWS_Amazon_Q_Developer.ipynb

Lines changed: 50 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"The model that Amazon Q utilizes has been supplemented with the high-quality AWS content, allowing users to ask questions\n",
1717
"about AWS architecture, AWS resources, best practices, documentation, and support. \n",
1818
"\n",
19-
"**Note:** In this tutorial, we will be running the **free tier of Amazon Q Developer**. You will not incur charges for the first 50 interactions with the chatbot each month. To understand the pricing plan of Amazon Q, please refer to the information found in this [link](https://aws.amazon.com/q/developer/pricing/).\n",
19+
"In this tutorial, we will be running the **free tier of Amazon Q Developer**. You will not incur charges for the first 50 interactions with the chatbot each month. To understand the pricing plan of Amazon Q, please refer to the information found in this [link](https://aws.amazon.com/q/developer/pricing/).\n",
2020
"\n",
2121
"## Learning Objectives\n",
2222
"\n",
@@ -27,35 +27,49 @@
2727
"\n",
2828
"## Prerequisites\n",
2929
"\n",
30-
"To complete this tutorial, you will need access to an Integrated Development Environment (IDE) popular options include SageMaker AI Studio, VSCode, and JupyterLab. Note that installation steps and certain features of Amazon Q Developer may vary across different IDEs. For instance, if you choose to install Amazon Q Developer locally through VSCode you will be required to create an AWS Builder ID profile which includes creating a username and password. To learn more about AWS Builder ID visit the following link [here](https://docs.aws.amazon.com/signin/latest/userguide/create-aws_builder_id.html). \n",
31-
"\n",
32-
"For this tutorial we used SageMaker AI Studio and added the following role policy:"
30+
"To complete this tutorial, you will need access to an Integrated Development Environment (IDE) popular options include SageMaker AI Studio, VSCode, and JupyterLab. Note that installation steps, pricing, and certain features of Amazon Q Developer may vary across different IDEs and pricing tiers. While we are using the free tier, check out the comparison below to understand the differences in requirements between using the free tier in SageMaker AI, running workflows locally, and utilizing the pro tier.\n",
31+
"\n",
32+
"**Amazon Q Developer Free Tier**\n",
33+
"- SageMaker AI\n",
34+
" - Requires an AWS account\n",
35+
" - Supported IDEs include Jupyter Lab and Code Editor\n",
36+
" - Will need to add the following role policy:\n",
37+
"\n",
38+
" ```JSON\n",
39+
" {\n",
40+
" \"Effect\": \"Allow\",\n",
41+
" \"Action\": [\n",
42+
" \"q:SendMessage\"\n",
43+
" ],\n",
44+
" \"Resource\": [\n",
45+
" \"*\"\n",
46+
" ]\n",
47+
" }\n",
48+
" {\n",
49+
" \"Sid\": \"AmazonQDeveloperPermissions\",\n",
50+
" \"Effect\": \"Allow\",\n",
51+
" \"Action\": [\n",
52+
" \"codewhisperer:GenerateRecommendations\"\n",
53+
" ],\n",
54+
" \"Resource\": \"*\"\n",
55+
" }\n",
56+
" ```\n",
57+
"\n",
58+
"- Local IDE\n",
59+
" - AWS account is not required \n",
60+
" - Required to create an AWS Builder ID profile which includes creating a username and password. \n",
61+
" - To learn more visit the following link [here](https://docs.aws.amazon.com/signin/latest/userguide/create-aws_builder_id.html).\n",
62+
" - Supported IDEs include VS Code, Visual Studio and JetBrains\n"
3363
]
3464
},
3565
{
3666
"cell_type": "markdown",
3767
"metadata": {},
3868
"source": [
39-
"```JSON\n",
40-
"{\n",
41-
"\t\"Effect\": \"Allow\",\n",
42-
"\t\"Action\": [\n",
43-
"\t\t\"q:SendMessage\"\n",
44-
"\t],\n",
45-
"\t\"Resource\": [\n",
46-
"\t\t\"*\"\n",
47-
"\t]\n",
48-
"}\n",
49-
"{\n",
50-
"\t\"Sid\": \"AmazonQDeveloperPermissions\",\n",
51-
"\t\"Effect\": \"Allow\",\n",
52-
"\t\"Action\": [\n",
53-
"\t\t\"codewhisperer:GenerateRecommendations\"\n",
54-
"\t],\n",
55-
"\t\"Resource\": \"*\"\n",
56-
"}\n",
57-
"```\n",
58-
" "
69+
"**Amazon Q Developer Pro Tier**\n",
70+
"- Requires AWS account as a prerequisite \n",
71+
"- Needed integration with IAM Identity Center (IDC) requiring **adminstator approval** \n",
72+
"- Costs $19/mo per user"
5973
]
6074
},
6175
{
@@ -111,11 +125,7 @@
111125
{
112126
"cell_type": "code",
113127
"execution_count": null,
114-
"metadata": {
115-
"vscode": {
116-
"languageId": "plaintext"
117-
}
118-
},
128+
"metadata": {},
119129
"outputs": [],
120130
"source": [
121131
"import pandas as pd\n",
@@ -168,11 +178,7 @@
168178
{
169179
"cell_type": "code",
170180
"execution_count": null,
171-
"metadata": {
172-
"vscode": {
173-
"languageId": "plaintext"
174-
}
175-
},
181+
"metadata": {},
176182
"outputs": [],
177183
"source": [
178184
"#Cell 1\n",
@@ -205,11 +211,7 @@
205211
{
206212
"cell_type": "code",
207213
"execution_count": null,
208-
"metadata": {
209-
"vscode": {
210-
"languageId": "plaintext"
211-
}
212-
},
214+
"metadata": {},
213215
"outputs": [],
214216
"source": [
215217
"# Error debugging test /fix\n",
@@ -239,11 +241,7 @@
239241
{
240242
"cell_type": "code",
241243
"execution_count": null,
242-
"metadata": {
243-
"vscode": {
244-
"languageId": "plaintext"
245-
}
246-
},
244+
"metadata": {},
247245
"outputs": [],
248246
"source": [
249247
"#Cell 2\n",
@@ -268,11 +266,7 @@
268266
{
269267
"cell_type": "code",
270268
"execution_count": null,
271-
"metadata": {
272-
"vscode": {
273-
"languageId": "plaintext"
274-
}
275-
},
269+
"metadata": {},
276270
"outputs": [],
277271
"source": [
278272
"Cell 3\n",
@@ -538,8 +532,14 @@
538532
}
539533
],
540534
"metadata": {
535+
"kernelspec": {
536+
"display_name": "base",
537+
"language": "python",
538+
"name": "python3"
539+
},
541540
"language_info": {
542-
"name": "python"
541+
"name": "python",
542+
"version": "3.11.7"
543543
}
544544
},
545545
"nbformat": 4,

0 commit comments

Comments
 (0)