Showing posts with label aws. Show all posts
Showing posts with label aws. Show all posts

August 05, 2021

AWS VS Azure VS GCP VS IBMCloud Basic Details(Multi Cloud)

Cloud Computing is the delivery of on-demand computing resources (computer power, database storage, applications as well as other IT resources) over the internet. This is achieved by using a network of remote servers hosted on the internet rather than a local server/personal computer. A cloud service is any service made available to users on demand via the Internet from a cloud computing provider’s server as opposed to being provided from a company’s own on-premises servers. Infrastructure as a Service (IaaS), Platform as a Service (PaaS) and Software as a Service (SaaS) are the three categories of cloud services. Cloud service platforms provide the above-mentioned services.


Major cloud service platforms:

Amazon Web Services (AWS) – It’s a comprehensive, evolving cloud computing platform provided by Amazon. AWS delivers a mix of IaaS, PaaS, and SaaS.


Microsoft Azure (formerly known as Windows Azure) – It is Microsoft’s public cloud computing platform. It provides a range of cloud services through a global network of Microsoft managed data centers.


Google Cloud – Google Cloud Platform is the suite of public cloud computing services by Google. It runs on the same infrastructure that Google uses internally for its end-user products, such as Google Search and YouTube. This includes a range of hosted services to compute, storage and application development that run on Google hardware. Google Cloud Platform services can be accessed by software developers, cloud administrators and other enterprise-IT professionals over the public internet or through a dedicated network connection.


IBM Cloud (formerly known as IBM Blemix and  IBM Softlayer) –  Cloud computing services from IBM which offers PaaS, SaaS, and IaaS. With IBM Cloud IaaS, organizations can deploy and access virtualized IT resources such as compute power, storage and networking over the internet. For compute, organizations can choose between bare-metal or virtual servers.


Alibaba Cloud – Subsidiary of Alibaba group which provide a suite of cloud computing services that covers elastic computing, 

object storage, relational database, big data analysis, and artificial intelligence in fifteen geographical regions around the globe.


Oracle Cloud – Cloud service offering from Oracle Corporation. This provides servers, storage, network, applications and services through a global network of Oracle’s managed data centers. Here, services are provided over the internet, on demand.


Here, we can see the comparison between each of the above cloud platforms in general :Public Cloud:




Along with the above features, there is a need to consider these important factors while purchasing a cloud service:

  • Historical usage (by region, instance family, etc.).
  • Steady-state usage vs. part-time usage.
  • Future plans for: Growth or Decline in usage, Changing cloud provider, Changing instance, families, Moving regions, Shifting to another computer-model (like containers, serverless architecture, etc.).
  • The balance between savings over time and cash payments up front.
  • Level of flexibility required.


Reference:

http://www.nodericks.com/aws-vs-azure-vs-google-vs-ibm-cloud-best/

https://www.tomsguide.com/features/aws-vs-azure-vs-google-cloud-vs-ibm-cloud-whats-the-best-cloud-environment

https://www.parkmycloud.com/blog/aws-vs-azure-vs-google-cloud-market-share/


Read more ...

July 31, 2021

AWS S3 CURD Operations using spring boot

AWS S3 CURD Operations including spring boot actuator features

README file mentioned to run procedure

GITURL: https://github.com/ramanujadasu/aws-curd-apis

GIT SSH link:

git@github.com:ramanujadasu/aws-curd-apis.git


Spring Boot AWS Cloud Support

https://spring.io/projects/spring-cloud-aws#overview

 

Samples:

https://github.com/spring-cloud-samples

https://github.com/ramanujadasu/aws-refapp

Read more ...

July 28, 2021

Vertical Scaling and Horizontal Scaling

    Scaling an on-premise infrastructure is hard. You need to plan for peak capacity, wait for equipment to arrive, configure the hardware and software, and hope you get everything right the first time. But deploying your application in the cloud can address these headaches.


    Vertical scaling means that you scale by adding more power (CPU, RAM) to an existing machine. AWS provides instances up to 488 GB of RAM or 128 virtual cores.


    Horizontal scaling essentially involves adding machines in the pool of existing resources. When users grow up to 1000 or more, vertical scaling can’t handle requests and horizontal scaling is required. Horizontal scalability can be achieved with the help of clustering, distributed file system, and load balancing.


Example for horizontal scaling:


{{- if ne <value_check> "\"false\"" -}}

{{- if <value_check }}

apiVersion: autoscaling/v2beta1

kind: HorizontalPodAutoscaler

metadata:

  name: xxxx

spec:

  scaleTargetRef:

    apiVersion: apps/v1

    kind: Deployment

    name: xxxx

  minReplicas: 1 <replica_count>

  maxReplicas: 10 <max_replicas>

  metrics:

  - type: Resource

    resource:

      name: cpu

      targetAverageUtilization: 90

  - type: Resource

    resource:

      name: memory

      targetAverageUtilization: 90

{{- end }}

{{- end }}



Example for vertical scalling:


apiVersion: v1

kind: Pod

metadata:

  name: xxx-demo

  namespace: xxx-example

spec:

  containers:

  - name: xxx

    image: vish/stress

    resources:

      limits:

        memory: "2Gi"

        cpu: "2"

      requests:

        memory: "1.5Gi"

        cpu: "1.5"

    args:

    - -cpus

    - "2"


Reference:

https://devblog.axway.com/apis/helm-and-kubernetes-adoption/

https://github.com/ramanujadasu/apigw-helm-charts

https://dzone.com/articles/vertical-scaling-and-horizontal-scaling-in-aws

https://stackoverflow.com/questions/11707879/difference-between-scaling-horizontally-and-vertically-for-databases

https://kubernetes.io/docs/tasks/configure-pod-container/assign-cpu-resource/

AWS Code optimization techniques:

https://www.whizlabs.com/blog/aws-cost-optimization-best-practices/




Read more ...

My Favorite Site's List

#update below script more than 500 posts