Principles – Insperitas https://insperitas.com Inspiring Cloud Initiatives Fri, 23 Feb 2018 14:30:46 +0000 en-GB hourly 1 https://wordpress.org/?v=4.9.4 https://s3-eu-west-2.amazonaws.com/insperitasmedia.com/wp-content/uploads/2017/09/29153007/cropped-insperitas52-32x32.png Principles – Insperitas https://insperitas.com 32 32 Principle 7: Prepare for failure https://insperitas.com/principle-7-prepare-for-failure/ Mon, 11 Sep 2017 08:15:09 +0000 http://184.73.8.45/?p=193 Continue reading "Principle 7: Prepare for failure"

]]>
Design your services and components to cope with failure. Any single component failure should not impact the overall service.

When designing Cloud Solutions ensure that the load is spread in a way that will cater for failure. The extent of the spread will depend on the criticality of the service as more spread equates to higher cost.

Use Load Balancers effectively to separate stateless micro-services from each other.

 

 

]]>
Principle 6: Create Scalable Microservices https://insperitas.com/principle-6-create-scalable-microservices/ Mon, 11 Sep 2017 08:09:06 +0000 http://184.73.8.45/?p=190 Continue reading "Principle 6: Create Scalable Microservices"

]]>
Don’t build monolithic applications

Instead of a monolithic approach,  build a number of smaller applications that can call each other as necessary via APIs. Automated scaling allows you to keep costs down whilst ensuring demand is met.

Cloud technologies depend on good elasticity to be competitive. It’s easier to see which parts of your application are the most resource hungry (or the most utilized) and improves troubleshooting.

Building with micro-services is good practice is generally thought to be good practice. It allows improvement of individual services which adds agility.

Go Serverless where possible as this puts the onus on the CSP to  provide the automated scalability.

With fully Automated scaling, horizontal scaling occurs in response to your Alerts.

NB. Applications divided into micro-services need to be stateless!

]]>
Principle 5: Measure Everything https://insperitas.com/principle-5-measure-everything/ Fri, 08 Sep 2017 09:17:32 +0000 http://54.210.160.50/?p=186 Continue reading "Principle 5: Measure Everything"

]]>
Every Cloud Service should be measured and logged

In order to ensure that costs are kept to a minimum it should be possible at all times to know all there is to know about each service. Its important to realize that  when using elastic virtual servers, the logs could be deleted when the server is deleted. Therefore servers should log all data centrally in a way that can be readily interrogated.

  • Log everything. Modern Cloud Services provide detailed logs. Collect them ALL. These include Application Logs, Infrastructure Logs and Security Logs!
  • Good elasticity depends on having accurate usage data.
  • Failing to measure is a sure fire way to waste money.
  • Set alerts on services based on the metrics expected and your design.
  • Use Tags properly. Your 1st tag for each item should be Cost_Centre. Tagging Taxonomy is important to save future headaches.
  • A good logging tool is essential for intelligent interpretation.
]]>
Principle 4: Security Everywhere https://insperitas.com/principle-4-security-everywhere/ Fri, 08 Sep 2017 08:52:23 +0000 http://54.210.160.50/?p=181 Continue reading "Principle 4: Security Everywhere"

]]>
Seriously – Every interaction with Cloud Services should be handled in a secure fashion

  • Data should be encrypted in transit and at rest.
  • All Cloud connections should be secure.
  • Work on the principle of Least Privilege Access.
  • Consider Security as part of your CI / CD Pipeline.
  • Don’t leave security to be the responsibility of a specialized team.
  • Consider each of the Cloud Security Alliance “Treacherous 12” threats

For more detail check out this blog.

 

]]>
Principle 3: Infrastructure as Code https://insperitas.com/principle-3-infrastructure-as-code/ Thu, 07 Sep 2017 07:42:51 +0000 http://54.172.249.5/?p=168 Continue reading "Principle 3: Infrastructure as Code"

]]>
Build everything as Code

Why?

All Cloud services worthy of the name can be used or accessed using their API.  By calling this API via code we can benefit from:

  • Faster Deployments. Deploying both the application and the infrastructure using code can dramatically speed up deployment and lead to Continuous Deployment
  • Reduce Error. Version controlled, repeatable scripts remove opportunities for human error. Auditing, which is essential to many companies success, is also made much easier.
  • Automatic Configuration. We can use script based tools such as Ansible to control and configure our whole Cloud environment.
]]>
Principle 2: Automate Everything https://insperitas.com/principle-2-automate-everything/ Tue, 05 Sep 2017 09:15:08 +0000 http://34.201.127.123/?p=153 Continue reading "Principle 2: Automate Everything"

]]>
Everything you build should be both automated and repeatable

Why?

What if your infrastructure breaks? What if there is a disaster? Rebuilding can take considerable time. If your solution is built from repeatable code then recovery can also be automated.

Chunks of well crafted repeatable code can be pieced together to form more complex solutions, saving time in the long run.

Continuous Deployment which is a pillar of agile entities can only be achieved with automation.

A complete and well defined automated solution creates a perfect staging environment, protecting your production environment without the need for human change control.

]]>
Principle 1: Cloud 1st https://insperitas.com/principle1-cloud-1st/ Tue, 05 Sep 2017 08:48:49 +0000 http://34.201.127.123/?p=145 Continue reading "Principle 1: Cloud 1st"

]]>
Consider a Cloud Solution BEFORE you consider the alternative

Why?

  • Following the 10 Cloud Guiding Principles drives behaviour that will increase efficiency.
  • Cloud Solutions encourage change and enhance agility.
  • Cloud Solutions allow you to focus on what you do best rather than on the infrastructure.
  • The worlds latest technology can be yours –  without capital investment.
]]>
10 Principles of a Sound Cloud Strategy https://insperitas.com/10-principles-of-a-sound-cloud-strategy/ Mon, 04 Sep 2017 10:00:20 +0000 http://34.201.245.144/?p=133 These are principles rather than laws. They apply in every situation, but how they are applied will differ depending on circumstances. If you would like to know more about how they will apply to YOUR organization, just send me a message from the contact page.

(In no particular order)

PrincipleBrief Description
1. Cloud FirstConsider using a Cloud Solution before you look at other options.
Why Cloud 1st?
2. Automate EverythingEverything you build should be both automated and repeatable
Read why here
3. Build Everything using CodeMouse Clicks on portals aren't automated. 🙂
Benefits of IaC
4. Security is ParamountSecurity shouldn't be an after-thought but should be built into everything.
Stay Safe
5. Measure EverythingTag everything. Log everything centrally.
Save money and future headaches
6. Create Scalable MicroservicesScale horizontally
No monoliths
7. Prepare for FailureAssume things will break. Build self-healing solutions.
here's how
8. Optimize for CostNever over-provide!
9. Consider PortabilityWill you need to use another Cloud Service Provider?
10. Follow Cloud Native Best PracticesAll applications should be designed in line with best practices
]]>