We Can Easily Create A Static Website On HP Cloud CDN, Which is OpenStack Swift and Connected With Akamai. Hardly $2/month Will Be Spending. Practically, all the guides which we wrote with Rackspace Cloud Files will work with HP Cloud CDN, differences are – HP Cloud will need a bit working knowledge of OpenStack Swift. It is Very Easy Thing.
Create A Static Website On HP Cloud CDN (OpenStack Swift) : Custom Domain Name
It is quite obvious that you’ll use a custom domain name like jima.in
. We essentially discussed the problem of Naked Domain. Morons added www subdomain prefix. It is honestly better to have an IP address to get the domain name resolved against the Domain Name and host the www
website on HP Cloud CDN. You can use Hostgator like Shared Hosting’s basic plan to get the IP address. $5 / month is Hostgator Shared Hosting’s basic plan’s charge, with $10/month, you’ll get Free SSL certificate too. Zoho still gives Free Domain Named Email Hosting.
ANAME is not a Standard. CloudFlare Free Account is great for these works. Obviously, you’ll not host a very important website in this way. Without Server, control is lesser. Akamai will use Edge Computing for your Static Page distribution.
---
If you hosted with 512 MB Server on DigitalOcean, your minimum cost would be $60 per year. Add the cost of SSL Certificate. A good SSL Certificate will cost $80, $140 becoming the yearly cost. Plus, you will always need a CDN. Minimum $160 becoming the annual cost. Only Red Hat OpenShift, Heroku can compete with HP Cloud CDN hosting.
Pure Hostgator Shared Hosting’s basic plan has problem of Speed, honestly; it is not possible to compare a Shared Hosting with a geographically distributed hosting. Most of us have a Hostgator Shared Hosting Plan for multiple Domains which are not eligible for HP Cloud Server. Page Speed will higher than Red Hat OpenShift and Heroku for practical reason – it is CDN.
Create A Static Website On HP Cloud CDN (OpenStack Swift) : Steps
HP Cloud CDN and Akamai combination, automatically understand that it is HTML file. So, only create a container and publish as CDN. Then read our guide on how to upload files to HP Cloud CDN.
There are hundreds of Free things on GitHub – Jekyll is the easiest stuff. You can use Twitter Bootstrap if you want a Pure HTML, no Versioning Support website. This will be the first step, that is to create a container :
In the next step, click the arrow button beside container name and enable CDN. This the thing which connects OpenStack Swift with Akamai. This is HP Cloud Specific. You can set the TTL to very high like 1577836800. That is 50 years.
You can create from command line too, but this is easy to see the things. You should have some HTML page. cd
to that directory in Terminal or iTerm2.
So, in our method (read, read…), you basically need to run :
1 | swift upload Abhishek–Ghosh * |
This will do the desired thing :
There will be an index.html
file visible in your web GUI control panel. Click the downwards arrow key beside the Download button, which is beside the index.html
file. You’ll see an option “view details”. From there, you’ll get the url like this :
https://a248.e.akamai.net/cdn.hpcloudsvc.com/h528e0162c45a42aca0745ad6fe860668/prodaw2//index.html
Click it to view whether it works or not. Akamai uses Flat File Database. There are usually no structural relationships between the records. As we have not used Jekyll or OctoPress, you’ll not get the pretty permalink
thing. We disabled that versioning
thing? that is actually the connection gate with HP’s OpenStack Swift with Akamai’s Edge Platform via API. That has huge documentation both on HP and Akamai :
1 | http://docs.hpcloud.com/publiccloud/api/CDN/#staticweb–example–jumplink–span |
Obviously, you’ll love to have clean URLs or redirect the URLs. The non-SSL is the right path. SSL is too complicated. CDNs are basically intended to deliver static contents by serving the static resource from the closest geographical point possible to the client. CDN technology is not intended to do a redirect or server side processing of the request. Hence, it depends on the way we Authenticate and Push the content via HP. Basically, that is why the word “Intelligent” is said by Akamai. It understands what we are doing. API is used for sending the valid request towards load balancer/firewall request re-writing – it avoids having a server side technology.
Average Rackspace Engineer will not know it, thats why Racspace has some specialists. HP Cloud is far far advanced than Rackspace, Intel and HP has direct work with Akamai. Normal! Akamai will use HP’s hardware!
These are called website endpoints. They are optimized for access from a web browser. There are key differences between the REST API endpoint and the website endpoint. That is HP wrote requests with cURL. When you are sending a request in that way, you are becoming HP to Akamai.
Tagged With https://yandex ru/clck/jsredir?from=yandex ru;search;web;;&text=&etext=1828 g3xa6VefkcBS399YKdT4ga9MvksN_rDdxVUOjr8Lu1_ncrczUmW7sSuj58PTPzBD 3f83dca146f226018940993d92a9a90c1c3dd557&uuid=&state=_BLhILn4SxNIvvL0W45KSic66uCIg23qh8iRG98qeIXme , openstack swift static website , swift static website