返回 Skill 列表
extension
分类: 开发与工程无需 API Key

oracle-cloud

提供全面的Oracle Cloud Infrastructure (OCI)指南,包括计算实例、网络(VCN、负载均衡器、VPN)、存储(块、对象、文件)、数据库服务(自治数据库、MySQL、NoSQL)、容器编排(OKE)、身份和访问管理(IAM)、资源管理、成本优化以及基础设施即代码(Terraform OCI提供商、资源管理器)。生成基础设施代码、部署脚本、配置指南和架构图。在设计OCI架构、配置云资源、迁移到Oracle Cloud、实施OCI安全、设置OCI数据库、在OKE上部署容器化应用程序、管理OCI资源时使用,或者当用户提到“Oracle Cloud”、“OCI”、“自治数据库”、“VCN”、“OKE”、“OCI Terraform”、“资源管理器”、“Oracle Cloud Infrastructure”或“OCI迁移”时使用。

person作者: jakexiaohubgithub

Oracle Cloud Infrastructure (OCI)

Core Capabilities

Provides expert guidance for Oracle Cloud Infrastructure across all major services:

  1. Compute Services - VM instances, bare metal, autoscaling, instance pools
  2. Networking - Virtual Cloud Networks (VCN), subnets, security lists, route tables, load balancers, VPN
  3. Storage - Block volumes, object storage, file storage, archive storage
  4. Database Services - Autonomous Database, MySQL, PostgreSQL, NoSQL, MongoDB
  5. Container & Kubernetes - Oracle Kubernetes Engine (OKE), container instances, registries
  6. Identity & Access Management - Users, groups, policies, federation, MFA
  7. Infrastructure as Code - Terraform OCI provider, Resource Manager, stacks
  8. Cost Management - Budgets, cost analysis, resource tagging, rightsizing

Best Practices

Compute

  • Use flexible shapes for cost optimization
  • Enable boot volume backups and configure lifecycle policies
  • Use instance pools with autoscaling for dynamic workloads
  • Implement proper tagging for resource management
  • Leverage availability domains for high availability

Networking

  • Design VCN with proper CIDR blocks (avoid overlaps)
  • Use security lists and network security groups together
  • Implement private subnets for databases and application tiers
  • Enable DRG (Dynamic Routing Gateway) for hybrid connectivity
  • Configure load balancer health checks with appropriate intervals

Storage

  • Use block volumes with appropriate performance tiers
  • Implement lifecycle policies for object storage cost savings
  • Enable encryption at rest for all storage services
  • Configure regular backups with retention policies
  • Use file storage for shared application data

Database

  • Use Autonomous Database for automatic management and tuning
  • Enable automatic backups with point-in-time recovery
  • Configure connection pooling and TLS encryption
  • Implement proper IAM policies for database access
  • Monitor database metrics and set up alerts

Container Orchestration

  • Use managed OKE for Kubernetes workloads
  • Enable cluster autoscaling and pod autoscaling
  • Implement pod security policies and network policies
  • Use OCI Container Registry for private image storage
  • Configure proper resource requests and limits

IAM & Security

  • Follow principle of least privilege for policies
  • Enable MFA for all users with admin access
  • Use service-level resources for automation
  • Implement compartment hierarchy for resource isolation
  • Audit IAM policy changes regularly

Infrastructure as Code

  • Use Terraform OCI provider with remote state
  • Organize resources by compartment and environment
  • Version control all infrastructure code
  • Use Resource Manager for managed Terraform execution
  • Implement proper variable management and secrets handling

Cost Optimization

  • Use flexible shapes to match workload requirements
  • Implement autoscaling to scale down during off-peak
  • Use preemptible instances for fault-tolerant workloads
  • Set up budgets and cost alerts
  • Tag resources for cost allocation and tracking

Detailed References

Load reference files based on specific needs:

  • Compute Services: See compute-services.md for:

    • VM shapes and bare metal configuration
    • Instance pools and autoscaling setup
    • Boot volume management and backups
    • Custom images and cloud-init configuration
  • Networking Architecture: See networking-architecture.md for:

    • VCN design patterns and CIDR planning
    • Security lists and network security groups
    • Load balancer configuration (public, private)
    • FastConnect and VPN setup for hybrid connectivity
    • VCN peering and DNS configuration
  • Database Services: See database-services.md for:

    • Autonomous Database provisioning and management
    • MySQL, PostgreSQL, and NoSQL configuration
    • Database backup and recovery procedures
    • Connection pooling and performance optimization
    • Database migration strategies
  • IAM Configuration: See iam-configuration.md for:

    • User, group, and policy management
    • Compartment design and hierarchy
    • Dynamic groups and instance principals
    • Federation and identity providers
    • Tagging strategy and resource limits
  • Terraform for OCI: See terraform-oci.md for:

    • Terraform OCI provider configuration
    • Common resource provisioning patterns
    • Module structure and best practices
    • Remote state management in object storage
    • Three-tier architecture examples
  • OCI CLI Commands: See oci-cli-commands.md for:

    • OCI CLI installation and configuration
    • Compute, networking, storage, and database commands
    • Container registry and OKE operations
    • Query and filtering techniques
    • Troubleshooting and debugging