Upgrade to Pro — share decks privately, control downloads, hide ads and more …

OCI 課金にまつわるエトセトラ

OCI 課金にまつわるエトセトラ

実際にクラウドを使っていると、思わぬところで課金されちゃったなんてこと、ありますよね。クラウドは使った分だけ後から課金されるので、どんなところに課金されるのか、どのくらいの課金額になるかを知るのはとても大切です。
というわけでこの資料では、OCIの課金ポイントに関してエンジニア目線からわかりやすくまとめてお伝えしていきます。
2021/2/17更新 :
VPN接続のOutobound Data Transferについて追記
ID管理の課金の章を追加
アーカイブストレージの課金のスライドを追加
WindowsのCALおよびサポートに関する費用を追記

2020/12/23更新 :
フレキシブル・シェイプの拡張(メモリ)に対応
Outbound Data Transferの地域別価格に対応
フレキシブル・ロード・バランサに対応

Masataka Marukawa

February 17, 2021
Tweet

More Decks by Masataka Marukawa

Other Decks in Technology

Transcript

  1. Safe harbor statement The following is intended to outline our

    general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, timing, and pricing of any features or functionality described for Oracle’s products may change and remains at the sole discretion of Oracle Corporation. 2021/2/17 Copyright © 2020, Oracle and/or its affiliates 2
  2. Oracle Cloud Price List • ( ) https://www.oracle.com/cloud/price-list.html Oracle Cloud

    Cost Estimator • https://www.oracle.com/jp/cloud/cost-estimator.html – Oracle Cloud Infrastructure ? Copyright © 2020, Oracle and/or its affiliates 4
  3. 1. 2. 3. 4. 5. ID 6. 2021/2/17 Copyright ©

    2020, Oracle and/or its affiliates 6
  4. OS OCI 1. • • = x OCPU x •

    : per second • (Terminate) 2. OS • Windows (Linux ) • = x OCPU x • : per second • (Terminate) • Not discount eligible = 3. • Marketplace UCM • Weblogic Server, MSSQL Server • : • • IP ( IP ) • ( ) Virtual Machine Bare Metal Compute Free 2021/2/17 Copyright © 2020, Oracle and/or its affiliates 8
  5. OCPU = OCPU IA 1 CPU Intel Xeon AMD EPYC

    OCPU vCPU 2 : OCPU ? 2021/2/17 Copyright © 2020, Oracle and/or its affiliates 9 OCPU vCPU 1 OCPU = 1 1 vCPU = 1
  6. Question • 4/15 Compute VM 1 1 • Standard2 1

    OCPU 0.01972222 (7.1 /3600 ) ? "OCPU Per Hour" Answer • Unit Price • Unit Price OCPU Per Hour 1 • 1 1/3600 Hour • FAQ : OCPU Per Hour ? 2021/2/17 Copyright © 2020, Oracle and/or its affiliates 11
  7. ? Standard → (Stop) OK DenseIO, GPU, HPC → (Terminate)

    Point • (VM) (BM) • (DVH : Dedicated VM Host) DVH (Terminate) • Dense IO NVMe 2021/2/17 Copyright © 2020, Oracle and/or its affiliates 12
  8. Windows OS • Standard → Stop • DenseIO, GPU, HPC

    → Terminate (OCPU) (2020/12/23 ) How am I charged for Windows Server on Oracle Cloud Infrastructure? When an instance is stopped, billing for the Windows Server license depends on the shape that was used to create the instance. Billing pauses for instances that use a Standard shape. Billing continues for instances that use a Dense I/O shape, GPU shape, or HPC shape. Depending on the shape, you might also be billed for the underlying Compute instance when the instance is stopped. ( ) Windows Server Dense I/O GPU HPC https://docs.cloud.oracle.com/en-us/iaas/Content/Compute/References/microsoftlicensing.htm#faq Windows ? ? 2021/2/17 Copyright © 2020, Oracle and/or its affiliates 13 • Standard Windows (~2020/3)
  9. Windows Universal Credit (Not Discount Eligible Service) Not Discount Eligible

    Service ? • • Universal Credit = Rate Card 100% • Annual Flex ( 30 OCI ) • (2020 12 ) • Oracle Cloud Infrastructure – Compute - Windows OS (B88318) • Oracle Cloud VMware Solution (B92386) • Oracle PaaS & IaaS Oracle PaaS and IaaS Universal Credits Service Descriptions • http://www.oracle.com/us/corporate/contracts/paas-iaas-universal-credits-3940775.pdf Windows = Not Discount Eligible 2021/2/17 Copyright © 2020, Oracle and/or its affiliates 14
  10. https://docs.cloud.oracle.com/en-us/iaas/Content/Compute/References/bring-your-own-license.htm#microsoftlicensing_topic-bring-your-own-license OCI Listed Provider 2019 10 1 BYOL(Bring Your Own

    License= ) • Listed Provider : Microsoft, Alibaba, Amazon, Google • : OCI (BM) (DVH) • : MS - • Windows Server OS BYOL • (BYOI) →Oracle (SPLA ) BYOL • BM KVM or (DVH) Windows Server → (VM) ( ) • TIPS : DVH VM Linux (SPLA ) • ( ) • Windows Client OS (8/10) BYOL • Windows Virtual Desktop Access(VDA) Windows OS BYOL 2021/2/17 Copyright © 2020, Oracle and/or its affiliates 15
  11. https://docs.oracle.com/en-us/iaas/Content/Compute/References/microsoftlicensing.htm OCI Windows (RDS) 3 OCI Windows RDS CAL •

    Windows (RDS) (CAL) 2 • 2 • 3 CAL • OCI Microsoft RDS Subscriber Access (SAL) • RDS CAL Windows CAL Copyright © 2020, Oracle and/or its affiliates 16
  12. https://docs.cloud.oracle.com/en-us/iaas/Content/Compute/References/support_options_microsoft.htm OCI Windows OS (Microsoft ) • Oracle Windows OS

    • Microsoft Microsoft Microsoft • Oracle BYOI OCI Windows OS Copyright © 2020, Oracle and/or its affiliates 17 Under these conditions, Oracle Support can help verify that: • the operating system boots • the operating system connects to the network • attached storage connects and performs as expected If you encounter other issues with Microsoft Windows Server, work directly with Microsoft Support to resolve the issue. Microsoft Support provides assistance when you have an existing Premier Support agreement or when you pay for professional support.
  13. OCPU • VM.Standard.E3.Flex • AMD EPYC 7742 (2.25 GHz) •

    OCPU : 1 64 • : OCPU 1GB~64GB( 1024GB) • NW vNIC OCPU • NW : OCPU 1Gbps, 40Gbps • vNIC : 1 OCPU 2 vNIC 1 OCPU 1 vNIC 24 vNIC • OCPU/ OCPU • Compute - Virtual Machine Standard - E3 OCPU • ¥3.00 OCPU Per Hour • Compute - Virtual Machine Standard - E3 Memory • ¥0.18 Gigabytes Per Hour (2020/4/23~) Copyright © 2020, Oracle and/or its affiliates 18
  14. Question • E2 E3 ? Answer • 1 OCPU +

    1GB E3 • E2 OCPU ¥3.6/hour E3 OCPU ¥3/hour 1GB ¥0.18/hour • E3 OCPU (16GB/OCPU) 1GB ¥0.18×1GB ¥3.18/hour • /jp/ • *E3 SKUs will support resource based pricing. The OCPU and the memory resources are priced separately and customers will need to purchase the Memory SKU along with the OCPU SKU. Currently the memory to OCPU ratio will be fixed at 16 GB/OCPU. • E2 OCPU 8GB E2=¥3.6/hour E3=¥4.44/hour E3 FAQ : E3 E2 ? 2021/2/17 Copyright © 2020, Oracle and/or its affiliates 19
  15. • • • • • • Monthly/Yearly Flex : 100

    • Pay as you go/ : 25 AVAILABILITY DOMAIN REGION Expor t REGION Im port 2021/2/17 Copyright © 2020, Oracle and/or its affiliates 20
  16. OCI → 2020 9 14 • SQL Server 2016 Enterprise

    • SQL Server 2016 Standard • Oracle Essbase • Oracle Weblogic Server EE • Oracle Weblogic Suite • Oracle SOA Suite • Oracle SOA Suite with B2B EDI Adapter 12.1.1.4 • Oracle GoldenGate Stream Analytics Universal Credit (UCM) 2021/2/17 Copyright © 2020, Oracle and/or its affiliates 21
  17. OCI 1. • • (Terminate) • Linux 47GB Windows 256GB

    / Volume 2. • = + • • (Terminate) • 50GB / Volume 3. & • • ( ) • 4. • • 5. ( ) • • • • 2 • ( ) • • • 2021/2/17 Copyright © 2020, Oracle and/or its affiliates 24
  18. SKU Unit( ) Gigabyte Storage Capacity Per Month 1 ?

    → 0 0 ~59 59 1 (=High Water Mark) 1 0:00 1:00 31 24:00 2:00 (GB) = 0 0 ~59 59 HWM ( ) ( GBx ) 31 744 2021/2/17 Copyright © 2020, Oracle and/or its affiliates 25
  19. Question OCI GB/ ( ) Answer GB/ Gigabyte Per Month

    Unit( ) Gigabyte Per Month 0.5 Gigabyte Per Month ( ) 0 0 (High Water Mark) Gigabyte Per Month (Unit) 2021/2/17 Copyright © 2020, Oracle and/or its affiliates 26
  20. 3 • Lower Cost / Balanced ( ) / Higher

    Performance • VPU=Volume Performance Unit • Balanced & (¥5.10/GB-month) = (¥3.06) + { (¥0.204) x VPU } Performance Unit Lower Cost Balanced Higher Performance IO IO DB IOPS 2 IOPS/GB ( 3000 IOPS/volume) 60 IOPS/GB ( 25,000 IOPS/volume) 75 IOPS/GB ( 35,000/volume) 240 KB/s/GB ( 480 MB/s/volume) 480 KB/s/GB ( 480 MB/s/volume) 600 KB/s/GB ( 480 MB/s/volume) Performance SLA No Yes Yes VPU 0 10 20 +VPU ¥3.06/GB-month ¥5.10/GB-month ¥7.14/GB-month 2021/2/17 Copyright © 2020, Oracle and/or its affiliates 27
  21. • 1 • (1~240 ) • (¥0.312/GB- Month) (¥3.06/GB-Month) (

    ) • 90 (90 ) Copyright © 2020 Oracle and/or its affiliates. 28
  22. OCI 1. • = LB + (Gbps) • : per

    hour • (Terminate) ( ) • 1 (2 ) 2. FastConnect • (1GB or 10GB) • = x x • : per hour • ( ) 3. (Outbound Data Transfer) • • : FastConnect • 10TB~30TB • • • VCN • NAT • VPN • IP 2021/2/17 Copyright © 2020, Oracle and/or its affiliates 31
  23. Outbound Data Transfer リージョンA リージョンB 可用性ドメイン 可用性ドメイン 可用性ドメイン Oracle バックボーン回線

    顧客データセンター Outbound Data Transfer 課金対象 (月10TiBまでは無料) 無料 2021/2/17 Copyright © 2020, Oracle and/or its affiliates 32 FastConnect プライベート・ピアリング FastConnect パブリック・ピアリング リージョン内は 無料 VPN接続
  24. https://www.oracle.com/cloud/networking/networking-pricing.html Outbound Data Transfer OCI SKU • B92989 - 1.02

    /GB • (APAC) B92990 - 3.00 /GB • B92991 - 6.00 /GB 10TB • 1 - 6TB Phenix( ) 6TB • → 12TB Phoenix • 2 - 6TB 6TB • → 10TB 2TB (6000薪) • 3 - 6TB 6TB ( ) 6TB • → 10TB 8TB Outbound Data Transfer – 2021/2/17 Copyright © 2020, Oracle and/or its affiliates | Confidential - Internal Use Only 33
  25. Question • File Storage Service 25TB Object Storage OCI CLI

    • Object Storage VCN Outbound Data Transfer ? Answer • Outbound Data Transfer • VCN Object Storage Outbound Data Transfer • Object Storage FAQ : Outbound Data Transfer ? 2021/2/17 Copyright © 2020, Oracle and/or its affiliates 34
  26. Question • https://www.oracle.com/jp/cloud/networking/networking-pricing.html • Outbound Data Transfer • 18TB/ 8TB

    ? • ¥3 /Gigabyte per month × 8TB(8000GB)= ¥24,000/ Answer • OK • OCI gigabyte 1,073,741,824 bytes = 1GiB terabyte 1,099,511,627,776 bytes = 1 TiB 10 TiB = 10,995,116,277,760 bytes = 10.995 TB • 18TB 18,000,000,000,000 bytes 7,004,883,722,240 bytes = 6,523.81 GiB 19,571.43 18TB 18TiB OK Outbound Data Transfer – 10TB 10TiB 2021/2/17 Copyright © 2020, Oracle and/or its affiliates 35
  27. OCI 2021/2/17 Copyright © 2020, Oracle and/or its affiliates 37

    • • Database Cloud Service Exadata 3 • Oracle Database • • OCPU DBCS VM BM Exadata Autonomous DB • BYOL • BYOL Exadata (Exadata CS/Autonomous) Exadata(DBCS VM/BM) • Object Storage OK • Database Backup SKU( ) ( IaaS ) • RMAN
  28. • 1 ( ) 2 (RAC ) • DB (SE

    EE/EE-High Perf./EE-Extreme Perf. or BYOL) • VM OCPU • • SKU : Oracle Cloud Infrastructure - Database Cloud Service • • (Balanced) • OS ( ) • SKU : Oracle Cloud Infrastructure - Block Volume • SKU : Oracle Cloud Infrastructure – Object Storage Database Cloud Service – Copyright © 2020, Oracle and/or its affiliates 38 DB VM Compute OS Block Volume Database System Clusterware Database DATA RECO ASM Object Storage 2021/2/17
  29. Database Cloud Service – Copyright © 2020, Oracle and/or its

    affiliates 39 (DATA) OS S/W (RECO) Boot Volume Block Volume Object Storage ≠ DB ≠ • : • DB : (SYSTEM/SYSAUX/TEMP ) ( ) • : ASM (DBCS-BM ExaCS) 2021/2/17
  30. Database Cloud Service – Copyright © 2020, Oracle and/or its

    affiliates 40 Database System DB (Local NVMe) BM Compute Clusterware Database Database … DATA RECO ASM Object Storage (Hosted Environment) • • • (BM.DenseIO2.52) • NVMe • 2 OCPU • • SKU : Oracle Cloud Infrastructure - Database Dense I/O - X7 (Additional Capacity) • CPU (~52 OCPU) • SKU : Oracle Cloud Infrastructure - Database Additional Capacity • SKU : Oracle Cloud Infrastructure – Object Storage 2021/2/17
  31. Exadata Infrastructure • 4 (Base, Quarter, Half, Full) • (X7,

    X8) (X8 ) • • • SKU : Oracle Cloud Infrastructure - Oracle Database Exadata Infrastructure Database OCPU • OCPU • DB EE-Extreme Perf. or BYOL • SKU : Exadata Cloud Service - Additional OCPU's • SKU : Oracle Cloud Infrastructure – Object Storage Copyright © 2020, Oracle and/or its affiliates 41 VM (domU) VM (domU) VM (domU) Exadata System Clusterware Database … … Database Client Subnet Backup Subnet DATA RECO SPARSE ASM Object Storage 2,4,8 Compute Nodes 3,6,12 Storage Servers Database Cloud Service – Exadata 2021/2/17
  32. • 1 OCPU (1 128 OCPU) • EE – Extreme

    Performance • • SKU : Oracle Cloud Infrastructure - Oracle Database Exadata Infrastructure • 1 TB (1 128 TB) • • • • ( UNDO ) • (Archivelog ) • SKU : Oracle Autonomous Database – Exadata Storage • • Autonomous Database Copyright © 2020, Oracle and/or its affiliates 42 (DATA) OS S/W (RECO) Compute Exadata Storage Object Storage
  33. Standard Edition2 Enterprise Edition RAC Option Partitioning Option Standard Edition

    Enterprise Edition Enterprise Edition High Performance Enterprise Edition Extreme Performance Oracle Database Transparent Data Encryption • Oracle Database Standard Edition 2 • Oracle Database Enterprise Edition • Data Masking and Subsetting Pack • Diagnostics and Tuning Packs • Real Application Testing Enterprise Edition • Multitenant • Partitioning • Advanced Compression • Advanced Security • Label Security • Database Vault • OLAP • Database Lifecycle Management Pack • Cloud Management Pack for Oracle Database High Performance • RAC • In-Memory Database • Active Data Guard ¥25.80/OCPU/ ¥51.612/OCPU/ ¥106.456/OCPU/ ¥161.292/OCPU/ BYOL to PaaS DBCS ¥23.22/OCPU/ Exadata Autonomous DB ¥38.721/OCPU/ • Exadata Cloud Service • Autonomous Database (ADW, ATP) Database Cloud Service : OCPU 2021/2/17 Copyright © 2020, Oracle and/or its affiliates 43
  34. OCI ID 2 B) OCI IAM A) IDCS A) Oracle

    Identity Cloud Service (IDCS) • Oracle Cloud ID B) OCI Identity and Access Management (IAM) • Oracle Cloud Infrastructure ID OCI ID Copyright © 2021 Oracle and/or its affiliates. 45 Oracle Identity Cloud Service OCI Identity and Access Management Oracle PaaS Oracle SaaS
  35. • • OCI 1 CSV • tar.gz • OCI 2021/2/17

    Copyright © 2020, Oracle and/or its affiliates 48
  36. • SKU( ) • OCI PaaS • • • •

    • UTC • • ( ) 2021/2/17 Copyright © 2020, Oracle and/or its affiliates 49
  37. OCI • 1 1 CSV • • Oracle • OCI

    PaaS • / API • = 1 • • • • • ( ) • https://docs.oracle.com/cd/E97706_01/Content/Billin g/Tasks/accessingusagereports.htm & 2021/2/17 Copyright © 2020, Oracle and/or its affiliates 51
  38. https://docs.cloud.oracle.com/ja- jp/iaas/Content/Billing/Concepts/usagereportsoverview.htm lineItem/referenceNo lineItem/TenantId Oracle Cloud Infrastructure (OCID) lineItem/intervalUsageStart (UTC)

    lineItem/intervalUsageEnd (UTC) product/service product/compartmentId ID product/compartmentName product/region product/availabilityDomain product/resourceId (OCID) usage/billedQuantity (myCost + myC billedQuantity myCost unitPrice cost/billingUnitReadable / billedQuantity <count> <GiB/MiB/TiB/PiB> <HOURS/MILLIS/MONTH/SECOND> <measure> ONE GiB MONTH DATA_TRANSFERRED cost/subscriptionId cost/productSku product/description cost/unitPrice billedQuantity myCost unitPrice cost/myCost * myCost usage/billedQuantycost/unitPrice billedQuantity myCost unitPrice cost/currencyCode usage/billedQuantityOverage cost/unitPriceOverage cost/myCostOverage lineItem/backReference lineItem/isCorrection lineItem/isCorrection lineitem/backReference tags/ 1 ( ) & 2021/2/17 Copyright © 2020, Oracle and/or its affiliates 52
  39. (Usage) (Cost) • • 10 • (Tag Default) • (Cost-tracking

    Tags) 2021/2/17 Copyright © 2020, Oracle and/or its affiliates 53
  40. Question • ? Answer • FAQ : 2021/2/17 Copyright ©

    2020, Oracle and/or its affiliates 54
  41. Question • OCI Networking > Outbound Data Transfer Fillter Outbound

    Data Transfer Answer • Outbound Data Transfer • Usage( ) Cost( ) 10TB • 10TB FAQ : Outbound Data Transfer ? 2021/2/17 Copyright © 2020, Oracle and/or its affiliates 55
  42. Question • ? Answer • • / • API OCI

    FAQ : 2021/2/17 Copyright © 2020, Oracle and/or its affiliates 56
  43. NEW OCI Cost reports and an awesome APEX app to

    get insight to all Usage and Cost (2020/04/22) https://www.oc-blog.com/2020/04/22/new-oci-cost-reports-and-an-awesome-apex-app-to-get-insight-to-all- usage-and-cost/ & Autonomous Database APEX 2021/2/17 Copyright © 2020, Oracle and/or its affiliates 58
  44. Deploying an Oracle Serverless Function to upload OCI Usage Reports

    to the Oracle Autonomous Data Warehouse (2020/03/26) https://blog.bytequalia.com/deploying-an- oracle-serverless-function-to-upload-oci-usage- reports-to-the-oracle-autonomous-data- warehouse/ & Oracle Functions Autonomous DB 2021/2/17 Copyright © 2020, Oracle and/or its affiliates 59
  45. • • • • • • or % • (Budget)

    (Budget Alert) 2021/2/17 Copyright © 2020, Oracle and/or its affiliates 60
  46. • / • ( ) • • • Zero compute

    quotas /*bm*/ in tenancy • Zero compute quotas /*-24*/ in tenancy • • : https://github.com/mmarukaw/oci-nigthly-stop Python • 100% • Monthly Flex ※ Monthly Flex • • • 16 8 薪 500GB 2000薪 2021/2/17 Copyright © 2020, Oracle and/or its affiliates 61
  47. : Python showoci 2021/2/17 Copyright © 2020, Oracle and/or its

    affiliates 62 (CSV, JSON) https://github.com/oracle/oci-python-sdk/tree/master/examples/showoci
  48. Oracle Cloud http://qiita.com/organizations/oracle http://www.slideshare.net/oracle4engineer/ Oracle Cloud • https://www.oracle.com/jp/cloud ( )

    Oracle Cloud ( ) • https://community.oracle.com/groups/oracle- cloud-japan-blog www.facebook.com/OracleCloudComputing @ora_club #ocijp 2021/2/17 Copyright © 2020, Oracle and/or its affiliates 63
  49. Oracle Cloud Infrastructure • https://docs.oracle.com/cd/E97706_01/Content/home.htm - ( ) • https://docs.cloud.oracle.com/iaas/api/

    - API • https://docs.oracle.com/cd/E97706_01/Content/General/Reference/aqswhitepapers.htm - • https://docs.cloud.oracle.com/iaas/releasenotes/ - • https://docs.oracle.com/cd/E97706_01/Content/knownissues.htm - (Known Issues) • https://docs.oracle.com/cd/E97706_01/Content/General/Reference/graphicsfordiagrams.htm - OCI (PPT SVG Visio ) Oracle Cloud Infrastructure 2021/2/17 Copyright © 2020, Oracle and/or its affiliates 64
  50. Oracle Cloud Infrastructure • https://community.oracle.com/docs/DOC-1035494 - Oracle Cloud Infrastructure •

    https://community.oracle.com/docs/DOC-1019313 Oracle • https://www.oracle.com/search/events/ ( Filter Locations -> Asia Pacific -> Japan ) Oracle Cloud Infrastructure – General Forum ( ) • https://cloudcustomerconnect.oracle.com/resources/9c8fa8f96f/summary Oracle Cloud Infrastructure 2021/2/17 Copyright © 2020, Oracle and/or its affiliates 65
  51. Our mission is to help people see data in new

    ways, discover insights, unlock endless possibilities.