How to Access Korean-Only Websites from Overseas Using AWS EC2 (Seoul Region VPN)

How to Access Korean-Only Websites from Overseas Using AWS EC2 (Seoul Region VPN)

Some Korean websites (government, financial, public institutions) block access from foreign IP addresses. This guide shows you how to create a quick VPN tunnel through AWS EC2 in Seoul to get a Korean IP address.

What you need: AWS account, AWS CLI installed, Terminal (macOS/Linux)


Step 1: Verify AWS CLI

Make sure AWS CLI is installed and configured:

aws --version
aws sts get-caller-identity --region ap-northeast-2

If you see your Account ID, you're good to go.


Step 2: Create a Key Pair

aws ec2 create-key-pair \
  --key-name kr-proxy-key \
  --region ap-northeast-2 \
  --query 'KeyMaterial' \
  --output text > ~/Desktop/kr-proxy-key.pem

chmod 400 ~/Desktop/kr-proxy-key.pem

Step 3: Create a Security Group

# Create security group
aws ec2 create-security-group \
  --group-name kr-proxy-sg \
  --description "SSH proxy for Korean IP access" \
  --region ap-northeast-2

# Allow SSH inbound (replace sg-xxxxx with your Group ID from above)
aws ec2 authorize-security-group-ingress \
  --group-id sg-xxxxx \
  --protocol tcp \
  --port 22 \
  --cidr 0.0.0.0/0 \
  --region ap-northeast-2

Step 4: Find the Latest AMI

aws ec2 describe-images \
  --owners amazon \
  --filters "Name=name,Values=al2023-ami-2023*-x86_64" "Name=state,Values=available" \
  --query 'Images | sort_by(@, &CreationDate) | [-1].ImageId' \
  --output text \
  --region ap-northeast-2

Note the AMI ID (e.g. ami-09a64de684ce1ac0e).


Step 5: Launch EC2 Instance

aws ec2 run-instances \
  --image-id ami-09a64de684ce1ac0e \
  --instance-type t2.micro \
  --key-name kr-proxy-key \
  --security-group-ids sg-xxxxx \
  --associate-public-ip-address \
  --tag-specifications 'ResourceType=instance,Tags=[{Key=Name,Value=kr-proxy}]' \
  --region ap-northeast-2 \
  --query 'Instances[0].InstanceId' \
  --output text

Note the Instance ID (e.g. i-0df42e446381ecc9a).

t2.micro is free-tier eligible (750 hours/month for 12 months).


Step 6: Get Public IP

Wait about 30 seconds, then:

aws ec2 describe-instances \
  --instance-ids i-xxxxx \
  --region ap-northeast-2 \
  --query 'Reservations[0].Instances[0].[State.Name, PublicIpAddress]' \
  --output text

You should see something like: running 13.125.x.x


Step 7: Open SSH SOCKS5 Tunnel

ssh -D 1080 -N -f \
  -o StrictHostKeyChecking=no \
  -i ~/Desktop/kr-proxy-key.pem \
  ec2-user@13.125.x.x
  • -D 1080 — Creates a SOCKS5 proxy on local port 1080
  • -N — No remote command (tunnel only)
  • -f — Run in background

Step 8: Verify Korean IP

curl --socks5-hostname localhost:1080 https://ifconfig.me

If it returns your EC2's Korean IP (e.g. 13.125.x.x), it's working!


Step 9: Configure Browser Proxy

Option A: macOS System Settings

  1. Open System SettingsNetworkWi-Fi
  2. Click Details...Proxies
  3. Enable SOCKS Proxy
  4. Server: localhost / Port: 1080
  5. Click OK

Option B: Terminal (macOS)

sudo networksetup -setsocksfirewallproxy "Wi-Fi" localhost 1080
sudo networksetup -setsocksfirewallproxystate "Wi-Fi" on

Option C: curl only

curl --socks5-hostname localhost:1080 https://www.target-website.kr

Now open your browser and access the Korean website!


Clean Up (Important!)

When you're done, clean up everything to avoid charges:

1. Close the SSH Tunnel

pkill -f "ssh -D 1080"

2. Turn Off Browser Proxy

macOS GUI: System Settings → Network → Wi-Fi → Details → Proxies → SOCKS Proxy OFF

Terminal:

sudo networksetup -setsocksfirewallproxystate "Wi-Fi" off

# Verify
networksetup -getsocksfirewallproxy "Wi-Fi"
# Should show: Enabled: No

3. Terminate EC2 Instance

aws ec2 terminate-instances \
  --instance-ids i-xxxxx \
  --region ap-northeast-2

4. Delete Security Group

Wait about 30 seconds after termination, then:

aws ec2 delete-security-group \
  --group-id sg-xxxxx \
  --region ap-northeast-2

5. Delete Key Pair

aws ec2 delete-key-pair \
  --key-name kr-proxy-key \
  --region ap-northeast-2

rm ~/Desktop/kr-proxy-key.pem

Cost Summary

Item Cost
t2.micro (free tier) Free (750 hrs/month, 12 months)
t2.micro (after free tier) ~$0.0116/hr (~$8.5/month)
Data transfer Free up to 100GB/month

Tip: If you want to keep the instance for later, Stop it instead of terminating. You only pay for EBS storage (~$0.10/GB/month) while stopped.


Quick Reference: Reconnect Later

If you stopped (not terminated) the instance:

# Start the instance
aws ec2 start-instances --instance-ids i-xxxxx --region ap-northeast-2

# Wait ~30 seconds, get new public IP
aws ec2 describe-instances \
  --instance-ids i-xxxxx \
  --region ap-northeast-2 \
  --query 'Reservations[0].Instances[0].PublicIpAddress' \
  --output text

# Open tunnel
ssh -D 1080 -N -f -i ~/Desktop/kr-proxy-key.pem ec2-user@NEW-IP

# Set proxy
sudo networksetup -setsocksfirewallproxy "Wi-Fi" localhost 1080
sudo networksetup -setsocksfirewallproxystate "Wi-Fi" on

How to Apply for a D-U-N-S Number

1. What is a D-U-N-S Number?

A D-U-N-S Number (Data Universal Numbering System) is a unique 9-digit business identifier issued by Dun & Bradstreet (D&B). It is used globally to identify and verify businesses for purposes such as:

  • Enrolling in the Apple Developer Program as an organization
  • Applying for government contracts and grants
  • Establishing business credit profiles
  • Vendor and supplier registration
💡 Apple requires a D-U-N-S Number to verify your organization's legal identity before issuing an Apple Developer team account. Individual accounts do not need one.

2. Prerequisites — Documents to Prepare

Before starting the application, gather the following information and documents:

ItemDescription
Business NameFull legal name exactly as registered
Registration NumberTax ID or company registration number
Business AddressFull address including postal code and country
Phone NumberInternational format: +[country code][number]
CEO / Owner InfoFull legal name and title (e.g., Owner, CEO)
WebsiteCompany website URL (if available)
Date FoundedOfficial business establishment date
Employee CountTotal headcount including yourself
Registration CertificateEnglish version — PDF format preferred
⚠️ Non-English documents must be translated. Check your country's official tax authority or business registration portal — many offer an official English-language certificate export option directly.

3. Go to the D&B Application Portal

Navigate to the appropriate portal based on your use case:

Apple Developer Program

👉 https://support.dnb.com/?CUST=APPLEDEV

Use this URL if you are applying specifically to enroll in the Apple Developer Program as an organization.

General D-U-N-S Application

👉 https://www.dnb.com/duns-number/get-a-duns.html

Use this for general business registration, government contracts, or other purposes.

4. Select Your Request Type

On the Apple Developer D&B portal, you will be asked two questions:

Step 4a

Under "What are you?" → select Developer Program

Step 4b

Under "What do you need?" → select Create New DUNS

5. Search for an Existing D-U-N-S

The portal checks whether your business already has a D-U-N-S number before creating a new one.

Step 5a

Enter your business name and full address in the search fields.

Step 5b

Click "Lookup by Name / Address".

Step 5c — Expected Result

For new businesses: you will see "No Match found" — this is completely normal and expected.

Step 5d

Click "click here to submit a request to create a new D-U-N-S" to open the full application form.

✅ If a match is found, your business already has a D-U-N-S. You can claim or update it instead of creating a new one — contact D&B support directly.

6. Fill Out the Application Form

Complete all fields in the Create D-U-N-S Number form. All fields must exactly match your official registration documents.

FieldWhat to Enter
Full Legal Business NameExact name as on registration documents
Business Registration NumberYour tax ID / company ID number
Company PhoneInternational format (e.g., +358501234567)
Street AddressFull street address
CityCity name
State / ProvinceState or province (if applicable)
Postal CodeZIP / postal code
CountryYour country
Business Structuree.g., Sole Proprietorship, LLC, Corporation
CEO / Owner NameFull legal name
CEO / Owner Titlee.g., Owner, CEO, Director
WebsiteCompany website URL
Home-Based BusinessYes / No
Number of EmployeesTotal headcount (including yourself)
Date FoundedOfficial establishment date (MM/DD/YYYY)
⚠️ Exact match required. The business name, address, and registration number must match your official documents precisely. Even minor differences (abbreviations, punctuation) can cause rejection.

Click "Next" to advance to the document attachment page.

7. Attach Supporting Documents

Upload a document to verify your business registration. This is required — submissions without a document attachment are typically rejected.

Accepted Documents

✅ English Business Registration Certificate (strongly preferred)

✅ Official government-issued business license

✅ Any official document showing your business name, registration number, and address

📄 PDF format is recommended. File size is typically not an issue, but keep it under 5MB to be safe. Make sure the document is clearly legible and all key information is visible.

8. Add Notes & Submit

There is usually a free-text Additional Details / Notes field. Always fill this in — it helps the D&B reviewer understand your submission and can speed up approval.

Example — First-time application

Sample note text
This is a new D-U-N-S number request for [Your Business Name], a sole proprietorship registered in [Country] since [Year]. Business is engaged in [industry, e.g. software development]. English Business Registration Certificate is attached.

Example — Resubmission after rejection

Sample note text
Resubmitting after previous rejection (Case #XXXXXXXX) which was closed due to missing English Business Registration Certificate. The English certificate is now attached. Business registration number: [Your Number]. Business started: [Date].

After reviewing all information, click Submit.

💾 Save your case number immediately after submission — you will need it to track your application status or to reference in any resubmission.

9. What Happens Next?

After submission, D&B will review your request. Here is the typical timeline:

ImmediatelyOn-screen confirmation + case number displayed. Check your email for a confirmation from D&B (check spam).
1–2 business daysD&B reviews your submitted information and documents.
3–5 business daysD-U-N-S Number issued and emailed to you.
Up to 30 daysIn some cases D&B may request additional documentation.
📬 D&B will send your D-U-N-S Number by email. Once received, the number is also searchable via the D&B portal. Apple recommends waiting 24–48 hours after receiving your number before using it for developer enrollment.

10. Troubleshooting: Common Rejection Reasons

IssueSolution
Missing English documentObtain an official English translation of your registration certificate and resubmit
Business name mismatchEnsure the name on the form exactly matches your official documents (character for character)
Address not recognizedUse the exact address format from your registration documents
Duplicate D-U-N-S foundContact D&B to claim or update the existing record instead of creating a new one
Case closed, no responseResubmit the form and reference the previous case number in the notes field
Document unreadableRe-export or rescan the document as a clear, high-resolution PDF

11. Using Your D-U-N-S for Apple Developer Enrollment

Once you have your D-U-N-S Number:

Step 2

Select "Enroll as an Organization" (not Individual).

Step 3

Enter your D-U-N-S Number when prompted. Apple will verify it against D&B's database.

Step 4

Allow 24–48 hours after receiving your D-U-N-S before enrolling — the number needs time to propagate in D&B's system.

✅ The Apple verification process typically takes a few days after enrollment. Apple may call your registered business phone number to verify your identity as the organization's legal representative.

Final Checklist

  • Prepared English business registration certificate (PDF)
  • Navigated to the D&B portal (APPLEDEV or general)
  • Selected correct request type (Developer Program → Create New DUNS)
  • Searched for existing D-U-N-S — confirmed no match
  • Filled out all form fields matching official documents exactly
  • Uploaded supporting document (English certificate)
  • Added descriptive notes in the Additional Details field
  • Submitted the form and saved the case number
  • Waiting for D&B email confirmation (3–5 business days)

Last updated: March 2026 · For general informational purposes

Main image by Syawish Rehman on Unsplash

🚙🚙 AUTOMATIC NUMBER PLATE RECOGNITION (ANPR, LPR, ALPR) solution

Step-by-Step: Building MIOpen and hipDNN with Ninja

 

Step-by-Step: Building MIOpen and hipDNN with Ninja

Step 1: Navigate to the monorepo

git clone https://github.com/ROCm/rocm-libraries.git
>cd rocm-libraries

Step 2: Create a build directory

Step 3: Configure with CMake using Ninja

What this does:
  • -GNinja - Use Ninja build system (faster than Make)
  • -DCMAKE_BUILD_TYPE=Release - Optimized build
  • -DCMAKE_INSTALL_PREFIX=/opt/rocm - Install location
  • -DCMAKE_PREFIX_PATH=/opt/rocm - Where to find ROCm dependencies
  • -DROCM_LIBS_ENABLE_COMPONENTS="miopen;hipdnn" - Build only these two projects + their dependencies

Step 4: Build both projects

Or if you want to limit parallel jobs (e.g., for memory constraints):

Step 5: Run tests (optional)

Step 6: Install (optional)


Alternative: Build with specific options

If you need more control, you can add these flags:

Useful Ninja Commands


Expected Build Time

  • Configuration (CMake)~30 seconds to 2 minutes
  • MIOpen build: ~20-40 minutes (first time)
  • hipDNN build: ~5-10 minutes
  • Total~30-50 minutes on MI250X system

What Gets Built

After successful build, you'll have:

If You Encounter Issues

  1. Missing dependencies error:
  1. Out of memory during build:
  1. See what would be built: