Bigstack

Bigstack

  • Docs

›Object Store

Introduction

  • Overview

Installation

  • Control Converged
  • Control
  • Compute node (HCI)
  • Storage node (SDS)
  • NIC configuration

    • Network bonding
    • VLAN
    • VLAN on bonding

    High Availability

    • Network offload
    • Control node
    • Compute node
    • Storage node

Quick Start

  • Get Started

Compute

  • flavors
  • images
  • images(CLI)
  • instances
  • Instance Snapshot

Volumes

  • Volume
  • Snapshots
  • Backup
  • Transfer

Network

  • Internet
  • Private Network(LAN)
  • Router
  • Security Group
  • Floating IP
  • Load Balancers

    • Create a Load Balancer
    • Delete a Load Balancer

DNS

  • Create Public Record
  • Create Private Record

Object Store

  • Object Storage
  • Object Storage (S3 API)

File Store

  • Tenant Share

Identity

  • Create a project
  • Modify Quota
  • Create a User
  • Create a group

Storage

  • Add a disk
  • Remove a disk
  • Prepare disk
  • Remove osd
  • Cache
  • Restful API

Disaster Recovery

  • Start scheduler
  • Full Backup
  • Incremental Backup
  • Cleanup
  • Schedule job
  • Increase quota

Kubernetes

    Instance (VM)

    • Create Template
    • Deploy Cluster
    • Storage Class
    • Workload with L4 LoadBalancer

    Compute Node(HCI)

    • Deploy Cluster
    • Storage Class

Monitoring

  • Host
  • Storage
  • Network
  • Instance
  • Top Hosts
  • Top Instances

Logs

  • Alert
  • Notification

    • Email
    • Slack
  • ELK Stack

Maintenance

  • Startup
  • Shutdown
  • Add/Remove a Harddisk
  • Repair Services
  • Fixpack
  • Update CubeOS
  • Support file
  • Export Instance
  • Create CubeOS snapshot
  • Restore CubeOS with snapshot
  • Remove Compute node
  • Remove Storage node

Download

  • Cloud Image

Operating System

  • CentOS 6 - root disk
  • MS Windows

    • Retrieve password
    • Extend partition

Create Access/Secret for Object Store API access

Connect the host

$ ssh [email protected]

Create bucket

sky-8:bucket> create
Select a user:
1: admin
Enter index: 1
Input bucket path: admin_public
Bucket 's3://admin_public/' created

Create access & secret key

sky-8:s3> ec2_key_create
Select a user:
1: admin
Enter index: 1
+------------+----------------------------------------------------------------------------------------------------------------------------------------+
| Field      | Value                                                                                                                                  |
+------------+----------------------------------------------------------------------------------------------------------------------------------------+
| access     | 74642e0bec4c4ddbba00f42132d8db9e                                                                                                       |
| links      | {u'self': u'http://192.168.1.204:35357/v3/users/0692bae8ce7b434b8ff0bc084fdd2ce3/credentials/OS-EC2/74642e0bec4c4ddbba00f42132d8db9e'} |
| project_id | 342aab568a354745bef95bf49fd9a3d5                                                                                                       |
| secret     | 44e995f831864a7bbaa32b1da34f9e31                                                                                                       |
| trust_id   | None                                                                                                                                   |
| user_id    | 0692bae8ce7b434b8ff0bc084fdd2ce3                                                                                                       |
+------------+----------------------------------------------------------------------------------------------------------------------------------------+
sky-8:s3> ec2_key_list
Select a user:
1: admin
Enter index: 1
+----------------------------------+----------------------------------+
| Access                           | Secret                           |
+----------------------------------+----------------------------------+
| 74642e0bec4c4ddbba00f42132d8db9e | 44e995f831864a7bbaa32b1da34f9e31 |
+----------------------------------+----------------------------------+

Test Result:

s3cmd

$ s3cmd --no-ssl --host=http://192.168.1.204:8888 --host-bucket=192.168.1.204 --access_key=74642e0bec4c4ddbba00f42132d8db9e --secret_key=44e995f831864a7bbaa32b1da34f9e31 la

2019-12-04 06:24        17   s3://admin_public/public_files2.txt
2019-12-04 06:51         0   s3://admin_public/testfile.txt

CLI

sky-8:object> put
Select a user:
1: admin
Enter index: 1
Select a media:
1: usb
2: local
Enter index: 1
Insert a USB drive into the USB port on the appliance.
Enter 'YES' to confirm: YES
1: public_files1.txt
2: public_files2.txt
Enter index: 2
Input object path: admin_public
upload: '/mnt/usb/public_files2.txt' -> 's3://admin_public/public_files2.txt'  [1 of 1]
 17 of 17   100% in    0s   314.40 B/s  done
Uploading object to admin_public3 complete. It is safe to remove the USB
drive.

Microsoft Windows - s3 browser

Download : https://s3browser.com/

assets/s3/s3-endpoint.png

assets/s3/s3-endpoint-list_files.png

MacOS - Dragon disk

Download : http://www.s3-client.com/download-s3-compatible-cloud-client.html

assets/s3/Screen_Shot_2019-12-04_at_3.01.10_PM.png

Last updated on 12/1/2020
← Object StorageTenant Share →
  • Connect the host
  • Create bucket
  • Create access & secret key
  • Test Result:
  • Microsoft Windows - s3 browser
  • MacOS - Dragon disk
Copyright © 2021 Bigstack Co., Ltd.