---
# System prepended metadata

title: Oracle Cloud 紀錄
tags: [infor]

---

### Creating a Debian VM on Oracle Cloud Free Tier

**1. donwload image**
去 Debian 找你要的 image:
https://cloud.debian.org/images/cloud/

這邊我選 	debian-13-genericcloud-amd64-20260112-2355.qcow2
![image](https://hackmd.io/_uploads/HyF2iFjB-l.png)

**2. create bucket**

去 Storage/Buckets: 
https://cloud.oracle.com/object-storage/buckets

點 Create Bucket
![image](https://hackmd.io/_uploads/H1XlAYoBWe.png)


點 Create Bucket
![image](https://hackmd.io/_uploads/SJ8-AFoSbg.png)


**3. Upload image into bucket**

選擇 剛剛建立的 bucket
![image](https://hackmd.io/_uploads/HJWhnKsrZx.png)

去 Objects 頁面
點 Upload objects
![image](https://hackmd.io/_uploads/BJKy6FiSZg.png)

選 剛剛下載的 image, 
點 Next
![image](https://hackmd.io/_uploads/BJ4DRtsHWl.png)

點 Upload objects
![image](https://hackmd.io/_uploads/SJzY0YjrZg.png)

**4. Create Image**

去 Compute/Images:
https://cloud.oracle.com/compute/images

點 Import image
![image](https://hackmd.io/_uploads/ByAc6Kirbe.png)

選取 剛剛的 Bucket
改一下name, Image type
點 Import image
(Operating System: Debian)
(Launch Mode: Native mode)
![image](https://hackmd.io/_uploads/BJaIv6NDbx.png)

![image](https://hackmd.io/_uploads/Bk6ZZ9iBbe.png)


### Vitrual Cloud Networks

https://cloud.oracle.com/networking/solutions/vcn

Create VCN with Internet Connectivity

![image](https://hackmd.io/_uploads/B11sucoH-l.png)

![image](https://hackmd.io/_uploads/By8n_qjHZg.png)


### About Always Free

https://docs.oracle.com/en-us/iaas/Content/FreeTier/freetier_topic-Always_Free_Resources.htm

Available Shapes
- **Micro instances (AMD processor):** All tenancies get up to two Always Free VM instances using the VM.Standard.E2.1.Micro shape, which has an AMD processor.
- **OCI Ampere A1 Compute instances (Arm processor):** All tenancies get the first 3,000 OCPU hours and 18,000 GB hours per month for free for VM instances using the VM.Standard.A1.Flex shape, which has an Arm processor. For Always Free tenancies, this is equivalent to 4 OCPUs and 24 GB of memory.

In regions with multiple availability domains:
- You can create OCI Ampere A1 Compute instances in any availability domain.
- Instances using the VM.Standard.E2.1.Micro shape can only be created in one availability domain.

Number of Compute Instances Available to Your Account

Depending on the size of the boot volume and the number of OCPUs that you allocate to each OCI Ampere A1 Compute instance, you can create up to four compute instances. The minimum boot volume size for each instance is 47 GB, regardless of shape. Your account comes with 200 GB of Always Free block volume storage which you use to create the boot volumes for your compute instances.

For example, using the default boot volume size of 47 GB, you could provision two instances using the VM.Standard.E2.1.Micro shape, and two OCI Ampere A1 Compute instances that each have 2 OCPUs. Or, you could provision four OCI Ampere A1 Compute instances with 1 OCPU each, and zero instances using the VM.Standard.E2.1.Micro shape. Many combinations are possible, depending on how you allocate your block storage and OCI Ampere A1 Compute OCPUs. See Details of the Always Free compute instances for more information on allocating OCPU and memory resources when creating OCI Ampere A1 Compute instances.

---

Block Volume
All tenancies receive a total of 200 GB of Block Volume storage

