初めての EC2 インスタンスを起動する
AWS クラウド上に仮想サーバー(EC2 インスタンス)をプロビジョニングして構成し、適切なインスタンスタイプと AMI を選択する方法を学びます。
「初めての EC2 インスタンスを起動する」はCoddyKit上の無料AWS for Backend Developers (EC2, S3, RDS, Lambda)レッスンです。 これはレッスン2/4です。 下記で完全なレッスンを無料で読むことができます。その後、ブラウザ内の組み込みコードエディタと24時間対応のAIチューターでハンズオン演習できます。 これはAWS for Backend Developers (EC2, S3, RDS, Lambda)学習パスの一部であり、ウェブとCoddyKitアプリ全体で進捗が同期されます。 AWS for Backend Developers (EC2, S3, RDS, Lambda)コースには全4レッスンが含まれています。
このレッスンの一部はまだ翻訳されておらず、英語で表示されています。
Start Your EC2 Journey
Time to launch your first EC2 instance. The key choices: an Amazon Machine Image (the OS) and an instance type (the hardware specs).
What's an Amazon Machine Image?
An AMI is the blueprint for your instance — a pre-configured template bundling an OS and often software, like a snapshot of a ready-to-go server.
Selecting the Right AMI
First step at launch: pick an AMI. Options include AWS Marketplace, community (use caution), or your own. Amazon Linux 2 or Ubuntu are great starters.
Decoding Instance Types
An instance type sets the hardware — vCPUs, RAM, network, and storage. AWS groups them into families (T, M, C, R) tuned for different workloads.
Picking Your Server's Power
For learning, the T-family is cheap and flexible — t2.micro is free-tier eligible. Reach for M, C, or R types as workloads grow. Start small.
Generating a Key Pair
A key pair secures SSH access: AWS keeps the public key on your instance, you download the private key. Guard that private file — it's your only way in.
EC2 Networking Basics
Every instance runs inside a VPC, an isolated AWS network split into subnets. At launch, the default VPC and a public subnet are fine to start.
Attaching Storage Volumes
EBS volumes are your instance's persistent virtual hard drive. Choose size and type (gp2, gp3); they survive independently of the instance's lifecycle.
Firewall with Security Groups
Security groups are virtual firewalls controlling inbound and outbound traffic. Only explicitly allowed traffic gets through — for a first instance, open SSH from your IP.
Review and Launch!
Final step: review your AMI, instance type, key pair, network, storage, and security groups, then hit Launch. The instance moves from pending to running.
Quick Check on EC2 Basics
You've learned about key components when launching an EC2 instance.
Your EC2 Launch Summary
Recap: launching an EC2 instance means choosing an AMI and instance type, setting up a key pair, and configuring networking, storage, and security groups.
よくある質問
「初めての EC2 インスタンスを起動する」レッスンは無料ですか?
はい。「初めての EC2 インスタンスを起動する」の完全なテキストはこのウェブで無料で読めます。インタラクティブに演習し(組み込みコードエディタと24時間対応のAIチューター)、AWS for Backend Developers (EC2, S3, RDS, Lambda)コースの残りをアンロックするには、CoddyKit PROにアップグレードしてください。 AWS for Backend Developers (EC2, S3, RDS, Lambda)コースには全4レッスンが含まれています。
「初めての EC2 インスタンスを起動する」で何を学びますか?
AWS クラウド上に仮想サーバー(EC2 インスタンス)をプロビジョニングして構成し、適切なインスタンスタイプと AMI を選択する方法を学びます。 ブラウザで直接実行するハンズオンコードでAWS for Backend Developers (EC2, S3, RDS, Lambda)を演習し、24時間対応のAIチューターがレッスンを進める中での質問に答えます。
AWS for Backend Developers (EC2, S3, RDS, Lambda)を始めるのに経験は必要ですか?
事前経験は必要ありません。CoddyKitのAWS for Backend Developers (EC2, S3, RDS, Lambda)は初級者から上級者向けに構成されているため、ここから始めるか最初から始めて、自分のペースで進むことができます。 これはレッスン2/4です。
「初めての EC2 インスタンスを起動する」レッスンにはどのくらい時間がかかりますか?
ほとんどのCoddyKitレッスンは約5~10分かかります。各レッスンはコンパクトでインタラクティブなので、着実に進歩し、ウェブとアプリ全体で正確に前回の場所から再開できます。
このAWS for Backend Developers (EC2, S3, RDS, Lambda)レッスンでコードを書いて実行できますか?
はい。すべてのAWS for Backend Developers (EC2, S3, RDS, Lambda)レッスンに組み込みコードエディタが含まれているため、ブラウザでリアルコードを書いて実行し、即座のAIフィードバックを取得できます。ローカル設定は不要です。
このコースのすべてのレッスン
- バックエンド開発のための AWS 入門
- 初めての EC2 インスタンスを起動する
- 接続と EC2 の基本管理
- オートスケーリングとロードバランシング