Implementasi Layanan Cloud Dasar
Virtual Machine, Cloud Storage, dan Database - Multi Platform
Navigasi Cepat
Pilih Platform Cloud
OpenNebula
Tipe: Private & Hybrid Cloud
Kelebihan:
- Open-source & gratis
- Kontrol penuh atas infrastruktur
- Cocok untuk pembelajaran
- Self-managed
AWS
Tipe: Public Cloud
Kelebihan:
- Free tier available
- Dokumentasi lengkap
- Layanan sangat lengkap
- Global infrastructure
Huawei Cloud
Tipe: Public Cloud
Kelebihan:
- Free trial available
- Harga kompetitif
- Fokus keamanan
- Region Asia terdekat
Tujuan Pembelajaran
Membuat dan mengkonfigurasi Virtual Machine di OpenNebula, AWS EC2, dan Huawei Cloud ECS
Membuat dan mengelola object storage di berbagai platform cloud
Mengimplementasikan database terkelola di environment cloud
Menghubungkan VM, storage, dan database dalam arsitektur terintegrasi
Konsep Layanan Cloud Dasar
Arsitektur Multi-Platform
| Layanan | OpenNebula | AWS | Huawei Cloud |
|---|---|---|---|
| Virtual Machine | KVM Virtual Machines | EC2 Instances | Elastic Cloud Server (ECS) |
| Cloud Storage | Datastore (Image Repository) | S3 (Simple Storage Service) | OBS (Object Storage Service) |
| Cloud Database | Self-managed MySQL on VM | RDS (Relational Database) | RDS (Relational Database) |
| Network | Virtual Networks | VPC + Security Groups | VPC + Security Groups |
| Access Method | Sunstone Web UI / CLI | Web Console / AWS CLI | Web Console / Huawei CLI |
Implementasi Virtual Machine - Multi Platform
A. Persiapan Environment
OpenNebula
- Akses Sunstone Web UI
- Login dengan credentials
- Verifikasi available resources
- Check network configuration
AWS
- Login ke AWS Console
- Siapkan AWS CLI (opsional)
- Pilih region terdekat
- Verifikasi EC2 limits
Huawei Cloud
- Login ke Huawei Cloud Console
- Pilih region (Singapore recommended)
- Siapkan ECS resources
- Configure VPC network
B. Membuat Virtual Machine di OpenNebula
Step 1: Akses Sunstone Dashboard
Buka browser dan akses OpenNebula Sunstone interface:
Step 2: Buat Virtual Machine Baru
Navigasi ke "Instances" → "VMs" → "+" → "Create"
Konfigurasi VM:
| Name: | web-server-pertemuan-2 |
| Template: | Ubuntu 20.04 atau CentOS 7 |
| CPU: | 1 vCPU |
| Memory: | 2 GB |
| Disk: | 20 GB |
Step 3: Konfigurasi Network
Konfigurasi network interface dan security rules:
Network Configuration:
- Network: Pilih virtual network yang tersedia
- Security Groups: Configure inbound rules
- IP Assignment: Dynamic atau fixed IP
Step 4: Deploy & Verifikasi
Klik "Create" dan tunggu VM berjalan, kemudian verifikasi:
Implementasi Cloud Storage - Multi Platform
E. Cloud Storage di OpenNebula (Datastore)
Step 1: Akses Storage Management
Navigasi ke "Storage" → "Datastores" di Sunstone interface
Step 2: Upload Images ke Datastore
Upload file/images yang akan digunakan oleh VM:
Step 3: Attach Images ke VM
Attach uploaded images ke VM sebagai additional disks:
Implementasi Cloud Database - Multi Platform
H. Database di OpenNebula (Self-Managed)
Step 1: Install MySQL pada VM
SSH ke VM dan install MySQL server:
Step 2: Konfigurasi Database
Buat database dan user untuk aplikasi web:
Step 3: Konfigurasi Keamanan
Konfigurasi MySQL untuk akses remote (jika diperlukan):
Tugas Praktikum & Integrasi - Multi Platform
Tugas Praktikum: Integrasi Layanan Cloud
Tugas Khusus OpenNebula
Tugas 1: Konfigurasi VM & Web Server
- SSH ke OpenNebula VM
- Install Apache/Nginx web server
- Configure virtual host
- Test web server accessibility
Tugas 2: Integrasi dengan Datastore
- Upload web files ke datastore
- Attach image sebagai disk ke VM
- Mount disk dan copy files
- Configure auto-mount pada boot
Tugas 3: Database Integration
- Install MySQL pada VM
- Create database dan tables
- Develop simple PHP web app
- Test database connectivity
Hasil yang Diharapkan - Semua Platform
Kriteria Penilaian - Multi Platform
Tugas Praktik (10%)
- Kelengkapan implementasi
- Fungsi layanan yang berjalan
- Kualitas dokumentasi
- Ketepatan waktu
Kehadiran (5%)
- Kehadiran penuh sesi praktikum
- Partisipasi aktif
- Ketepatan waktu
Platform Understanding (Bonus 5%)
- Perbandingan platform
- Analisis kelebihan/kekurangan
- Recommendasi use case