|
dave spink toolset |
|
CLOUD TOPICS: |
|||
LIFT SHIFT | ARCHIVE DEMO |
THE PROJECTMy first "lift and shift" customer workloads to the Oracle Cloud. LIFT SHIFTBelow is cloud story from a visual effects customer. It walks you through a cloud journey example i.e. an overview of the process we'd follow to bring customers onto our cloud.
ARCHIVE DEMOThe Oracle Archive cloud has 4 hour to first byte SLA. Below is quick demo for recovering a file from the archive store. # Get Token curl -v -s -X GET -H "X-Storage-User: Storage-gse00002002:cloud.user" -H "X-Storage-Pass: abc123" https://gse00002002.storage.oraclecloud.com/auth/v1.0 # Set env # mytok=AUTH_tkf011c6f1fc47f3dfb304ebfd9657ea32 # Create Container curl -v -X PUT -H "X-Auth-Token: $mytok" -H "X-Storage-Class: Archive" https://em2.storage.oraclecloud.com/v1/Storage-gse00002002/drscont # Upload objects curl -v -X PUT -H "X-Auth-Token: $mytok" -T mytest.txt https://em2.storage.oraclecloud.com/v1/Storage-gse00002002/drscont/mytest.txt # Object Status curl -v -X HEAD -H "X-Auth-Token: $mytok" https://em2.storage.oraclecloud.com/v1/Storage-gse00002002/drscont/mytest.txt # Remove file on linux # rm mytest.txt # Request Restore object curl -v -X POST -H "X-Auth-Token: $mytok" https://em2.storage.oraclecloud.com/v0/Storage-gse00002002/drscont/mytest.txt?restore # Restore status percentage curl -v -X GET -H "X-Auth-Token: $mytok" https://em2.storage.oraclecloud.com/v0/Storage-gse00002002/drscont ?jobs\&jobId=8ea61f17a439e83103d9986cc4ef4c1f11249c5a # After the object is restored curl -v -X GET -H "X-Auth-Token: $mytok" -o mytest.txt https://em2.storage.oraclecloud.com/v1/Storage-gse00002002/drscont/mytest.txt |