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
Copy file name to clipboardExpand all lines: docs/Developer Environment Guide for Linux.md
+71-88Lines changed: 71 additions & 88 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,127 +1,104 @@
1
-
# Development Environment Setup Guide
1
+
# Development Environment Setup Guide on Linux
2
+
# Introduction
3
+
This guide establishes a cloud-based development environment using Amazon Linux 2023 on AWS EC2, specifically designed for the GenAI IDP accelerator.
4
+
5
+
Purpose: Provides a standardized, scalable development infrastructure that combines the familiar VSCode interface on your local machine with powerful cloud compute resources. This approach eliminates local environment configuration issues while ensuring consistent development experiences across team members.
6
+
7
+
When to use this guide:
8
+
• You need a new development environment
9
+
• Your current setup has configuration issues
10
+
• You prefer cloud-based development with scalable resources
11
+
• You want a clean, isolated environment for this project
12
+
13
+
What you'll achieve:
14
+
A hybrid development setup where your code runs on a pre-configured Amazon Linux EC2 instance while you work through VS Code on your local machine, providing both performance and consistency.
2
15
3
16
## Step 1: Launch EC2 Instance
4
17
5
-
###1.1 Navigate to EC2 Console
18
+
# 1.1 Navigate to EC2 Console
6
19
1. Log into [AWS Management Console](https://console.aws.amazon.com/)
7
20
2. Navigate to EC2 service
8
21
3. Click Launch Instance
9
22
10
-
###1.2 Configure Instance Settings
11
-
Name: genai-idp-dev-environment
23
+
# 1.2 Configure Instance Settings
24
+
Name: genai-idp-dev-environment (example)
12
25
AMI Selection:
13
26
• **Amazon Linux 2023**
14
-
• Search: "Amazon Linux 2023 AMI"
15
-
• Architecture: 64-bit (x86)
27
+
Architecture: 64-bit (x86)
16
28
Instance Type:
17
-
• Heavy development: t3.xlarge (4 vCPU, 16 GB RAM)
29
+
• Heavy development: t3.2xlarge (8 vCPU, 32 GB RAM)(recommended)
30
+
(Other instance types will also work, but this is one we tested)
18
31
19
-
###1.3 Key Pair Setup
32
+
# 1.3 Key Pair Setup
20
33
1. Click Create new key pair (or select existing)
21
-
2. Name: genai-idp-dev-key
34
+
2. Name: genai-idp-dev-key (example)
22
35
3. Type: RSA
23
36
4. Format: .pem
24
37
5. Download and save the .pem file securely
25
38
26
-
###1.4 Network Settings
39
+
# 1.4 Network Settings
27
40
Security Group Configuration:
28
-
1. Create new security group: genai-idp-dev-sg
41
+
1. Create new security group: genai-idp-dev-sg (example)
29
42
2. Add these inbound rules:
30
43
• **SSH**: Port 22, Source: My IP
31
44
32
-
###1.5 Storage Configuration
33
-
• Size: 30 GiB (minimum 20GB)
45
+
# 1.5 Storage Configuration
46
+
• Size: 720 GiB (minimum 20GB)
34
47
• Type: gp3
35
48
• Delete on termination: Yes
36
49
37
-
###1.6 Launch
50
+
# 1.6 Launch
38
51
Click Launch instance and wait for it to reach "Running" state.
0 commit comments