Skip to content

Amazon Q set up in EMR notebook workspace

0

Hi Team,

I'm trying to set up the Amazon Q on the EMR studio notebook workspace and followed this guide: https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/emr-setup.html?trk=769a1a2b-8c19-4976-9c45-b6b1226c7d20&sc_channel=el. But the amazon Q doesn't appear in my EMR notebook page. Could you please some suggestions? Thanks!

asked 10 months ago156 views

1 Answer
0

To set up Amazon Q Developer in your EMR Studio notebook workspace, I can help troubleshoot why it's not appearing. Here are the steps to ensure proper setup:

  1. First, verify that you've completed the initial setup of your Amazon EMR Studio Notebook.

  2. Make sure you've attached the required IAM policy to the user role for your EMR Studio Notebook. The policy should include the permission codewhisperer:GenerateRecommendations as shown below:

{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AmazonQDeveloperPermissions",
"Effect": "Allow",
"Action": [
"codewhisperer:GenerateRecommendations"
],
"Resource": "*"
}
]
}
  1. After attaching the policy, open the Amazon EMR console and navigate to "Workspaces (Notebooks)" under Amazon EMR Studio.

  2. Select your desired Workspace and choose "Quick launch" to open it.

If Amazon Q still doesn't appear in your EMR notebook page after following these steps, you might need to:

  • Refresh your browser tab after applying the IAM permissions
  • Ensure you're using a compatible version of JupyterLab (Amazon Q supports JupyterLab 4.0 and above)
  • If using an older version of JupyterLab, you might need to install the extension manually using pip: pip install amazon-q-developer-jupyterlab-ext

Once properly set up, you should see the Amazon Q icon in your JupyterLab interface, allowing you to get code recommendations as you write your ETL code.
Sources
Using Amazon Q Developer with Amazon EMR Studio - Amazon Q Developer
Using Amazon Q Developer with JupyterLab - Amazon Q Developer

answered 10 months ago

  • thanks for the response! Found my jupyterlab has Version 3.1.4, but where can I install the new version? On the notebook terminal? I tried, it failed. Thanks!

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.