How to Host a Static Website on IBM Cloud
Hello Friends today i am gone to tell you how you can host your first Static website on IBM Cloud.
Also visit:ย Project Build and Deploy a Simple Guestbook App
How to Host a Static Website on IBM Cloud
So Some Question Raise just Likeย
- Where we Store our files ?
- How can store a file ?
- How can i Host Static Website ?
- Which service we are using &ย it is free or paid ?</span >
- IBM Cloud Object Storage
IF you Don’t Know about IBM Cloud Object Storage it is Just like GCP Cloud Storage Bucket
What is IBM Cloud Object Storage ?
- IBM Cloud Object Storage supports exponential data growth and cloud-native workloads with built-in high-speed file transfer capabilities, cross-region offerings and integrated services. The IBMยฎ Asperaยฎ high-speed data transfer option makes it easy to transfer data, and flexible storage class tiers help manage costs while meeting data access needs.</span >
Theory is Over Lets do Some Cool Stuff.
So What we Need:
Step 1) Create IBM Cloud account
ย
Step 2) Very your Email and Login to your IBM Cloud Accountย
Your static website structure like this
COS is Flat Storage it means you can not use Folder structure in this.
- index.html —File
- https:love.bot.com
- Click on Create Recourse.
- In IBMย Catalog Pageย
- Search Object storage
- Createย Object storage
- Select Lite plan.
- Give Unique any name
- Click Create.
- Getting started pageย </span >appear
- Click onย </span >buckets
- Click on Bucket
- Select Host a static website</span >
- Click Create.
Step 5) Now put some details
- unique website name
- Select Host a static website
- Put index.htmlย ย </span >on Static web Hosting</span >
- Publicย accessย On
- Click Next.
- Click Next
- then Click View bucket configuration
ย
- Click on Bucket Objects
- then Click View bucket configuration
- Click on 3 dots
- select object details
- Copy Public link and open in new Tab
- http://my-first-static-website-cos-static-web-hosting-962.s3.jp-tok.cloud-object-storage.appdomain.cloud/index.html</strike ></span >
ย
- Click on access policies
- Select Public accessย
Access group
- Public access</span >
Role for this bucket:
- Content reader</span >
- Click on Bucket Objects
- then Click View bucket configuration
- Click on 3 dots
- select object details
- Copy Public link and open in new Tab
- You successfully Host Your First Static Website on IBM Cloud.
Nice article bro… ii host my first static website on Ibm cloud with the help of your article