Posts

Showing posts from March, 2022

Benefits of cloud computing

1) Trade upfront expense for variable expense                               Upfront expense refers to data centers, physical servers, and other resources that you would need to invest in before using them. Variable expense means you only pay for computing resources you consume instead of investing heavily in data centers and servers before you know how you’re going to use them. By taking a cloud computing approach that offers the benefit of variable expense, companies can implement innovative solutions while saving on costs. 2) Stop spending money to run and maintain data centers                                    Computing in data centers often requires you to spend more money and time managing infrastructure and servers. A benefit of cloud computing is the ability to focus less on these t...

Deployment models for cloud computing

          There are mainly three cloud computing deployment models are present such as cloud-based, on-premises, and hybrid. Cloud-Based Run all parts of the application in the cloud. Migrate existing applications to the cloud. Design and build new applications in the cloud.                           In a cloud-based deployment model, you can migrate existing applications to the cloud, or you can design and build new applications in the cloud. You can build those applications on low-level infrastructure that requires your IT staff to manage them. Alternatively, you can build them using higher-level services that reduce the management, architecting, and scaling requirements of the core infrastructure. For example, a company might create an application consisting of virtual servers, databases, and networking components that are fully based in the cloud. On-Premises Deploy resource...

What is Kubernetes?

Kubernetes is used to orchestrate containerized cloud-native microservices apps.        The applications that we are building on the web are changing quite a lot. We used to just pack everything up like a monolith application and just throw them on the servers. Now things are moving into a different definition and moreover in that part of our definition of microservices, where each application is not just built once it's being built by different teams some team is defining about how the product should be displayed some team is working on how orders are gonna be placed some team is working that how the authentication flow is gonna be working and they are in communication with each other but are kind of independent with each other these are known as microservices.  Now not only microservices, we are moving towards an era where we want to containerize all these applications, in simple words we design our application and we package it up and we package it in a ...

8 Ways to Use Spread Operator in Javascript

ELIMINATE DUPLICATES FROM AN ARRAY      To remove duplicates from an array const num = [ 1 , 2 , 1 , 4 , 4 , 1 ]; const uniqueNum = [... new Set ( num )]; uniqueNum ; //[ 1, 2, 4] CONVERT STRING TO CHARACTER ARRAY      The string is also an iterable object, so we can use "..." to strings also. let str = "Tech with Fahad" ; let chars = [... str ]; //["T", "e", "c", "h", " ", "w", "i", "t", "h", " ", "F", "a", "h", "a", "d"]; DESTRUCTURING VARIABLE let [ apple , ... fruits ] = [ "Apple" , "Mango" , "Orange" , "Cheri" ]; apple ; // Apple fruits ; // [ 'Mango', 'Orange', 'Cheri' ] CONVERT NODELIST OBJECT TO ARRAY      NodeLists are array-like but don't have all methods of Array, like forEach, map, filter, etc. const nodeList = document . queryS...

Most used 30 AWS Services

No Name Description 1 EC2 It allows us to create a virtual computer in the cloud, we can choose Os, memory, and computing power then we can run that in the cloud. 2 ELB (Elastic Load Balancing) Allows distributing traffic into multiple instances automatically 3 Cloud watch Collects logs and matrics from each individual instance 4 Auto Scaling Data collected from Cloudwatch passed to autoscale in which it defines policies that create new instances as that is needed  based on the traffic and utilization of the current infrastructure 5 Elastic Beanstalk Automatically manages the services needed to host and scale the application 6 Lambda An event-driven, serverless computing platform 7 Serverless Application Repo Managed repository for serverless applications. It enables teams, organizations, and individual developers to store and share reusable applications, and easily assemble and deploy serverless architectures 8 Outposts Way to run Aws APIs in our own infrastructure 9 ECR (Elastic ...

Most used 30 Azure Services

No Name Description 1 Azure Virtual Machines Provides users with an option to create Windows or Linux virtual machines 2 Service Fabric Azure Service Fabric is a distributed systems platform that makes it easy to package, deploy, and manage scalable and reliable microservices and containers 3 Functions Allows users to build applications with serverless computing. 4 Load Balancer Provides users to instantly scale applications while providing high availability and network performance for their applications 5 Azure CDN Allows distribution of large files by providing high bandwidth content and reducing the file download time. 6 Virtual Network Enables Azure resources to communicate with each other or other on-premises networks securely via the internet 7 VPN Gateway Enables users to connect their on-premises network to Azure via Site to Site VPNs 8 Data Lake Storage Provides scalable data storage emphasizing scalability and cost-effectiveness 9 Blob Storage It places data into different ti...