TeamITServe

AWS

AWS

Cloud Wars | AWS vs. Azure vs. Google Cloud

Cloud wars | Cloud Computing has transformed businesses. Complex tasks are now easier to perform, and data processing is more efficient with Cloud. In 2021, Cloud integration has almost become a necessity to survive in this competitive environment. This article is all about the three biggest Cloud Service Providers that are dominating the Cloud Computing industry. AMAZON WEB SERVICES (AWS) Amazon started AWS in 2008 and currently, AWS is the world’s top cloud service provider. AWS offers a wide variety of services. You name the technology, and AWS will have a service supporting that technology. AWS has made running businesses on the cloud very convenient, so much so that you can use your smartphone to control your operations. AWS is currently the market leader in cloud services with a 33% market share well ahead of its competitors. AWS generated $46 billion in revenues in the year 2020. MICROSOFT AZURE Microsoft Azure is currently the second-largest player in the cloud service providing industry. Almost 90% of the Fortune 500 companies use Azure as their cloud computing platform. Azure supports multiple operating systems, programming languages, and frameworks. Using large-scale virtualization, Microsoft Azure can provide close to 600 services to its clients. Azure generated $59.5 billion in revenues in the year 2020. GOOGLE CLOUD PLATFORM (GCP) Coming in at the third position is the Google Cloud Platform. It is a competitor to Amazon AWS and Microsoft Azure in the cloud services industry. It offers the public cloud, G Suite, APIs, and enterprise versions for their popular operating systems Android and Chrome OS. Cloud services have seen massive growth in the last few years, and the same applies to the Google Cloud Platform. GCP-enabled services run on the same infrastructure which Google uses internally for its products like Gmail, YouTube, Google Search, etc. GCP generated $13 billion in revenues in the year 2020. Get started with AWS today. Contact TeamITServe today for help! If your enterprise needs experienced DevOps professionals, contact us at vic@teamitserve.com.

Cloud Wars | AWS vs. Azure vs. Google Cloud Read More »

AWS LAMBDA Setup Process with S3 Bucket

An articles on AWS Lambda setup process 2. Then click on create role and choose AWS service and in common use case u will see lambda select it and click on next: permissions. 3. Now we have to create a policy for DynamoDB. For this session I am taking DynamoDB full access and click on next. 4. Now in the next tab you can give tags. 5. After this enter the name for your role and click on create role. 6. Once a role is created now go to lambda in AWS services compute section. 7. Now first we need to create a function click on create function. 8. Now we have 3 options to create a function. I am choosing the Author from scratch option. 9. Now here we need to give our lambda name and runtime language in which we want to create our lambda. Also select the role which we created earlier and click on the create function. 10. Once lambda is created successfully you will receive a success message on the next window. 11. Now we need to add a python code in a function code section. import boto3 from uuid import uuid4 def lambda_handler(event, context):     s3 = boto3.client(“s3”)     dynamodb = boto3.resource(‘dynamodb’)     for record in event[‘Records’]:         bucket_name = record[‘s3’][‘bucket’][‘name’]         object_key = record[‘s3’][‘object’][‘key’]         size = record[‘s3’][‘object’].get(‘size’, -1)         event_name = record [‘eventName’]         event_time = record[‘eventTime’]         dynamoTable = dynamodb.Table(‘newtable’)         dynamoTable.put_item(             Item={‘unique’: str(uuid4()), ‘Bucket’: bucket_name, ‘Object’: object_key,’Size’: size, ‘Event’: event_name, ‘EventTime’: event_time}) 12. Rest of the settings you can choose default and click on deploy. 13. Now we have to add a trigger for this first we need to create a bucket .So go to S3 and create a bucket and allow public access of bucket. 14. Now go back to lambda and click on add trigger and choose S3. 15. Now select bucket name and event type as all object create events and click on Add. 16. Now on the next window it is visible to you that a bucket is added as a trigger. 17. Now we need to create a DynamoDB table so go to AWS services and create a DynamoDB table. 18. Now create a DynamoDB table by clicking create table and fill all the details like table name and primary key same as you used in your function code then click on create. 19. 20. Now check in items columns you will not find any entries. 21. Now go back to the s3 bucket and upload a file in your s3 bucket. 22. Once you upload a file go and check in the DynamoDB table you will find an entry of that image in the table. 23. In the DynamoDB table you will find all the entries related to uploaded file like file name, date & time etc. If you need help in configuring this cluster, feel free to email us vic@teamitserve.com or call us at +1 810 214 2572.

AWS LAMBDA Setup Process with S3 Bucket Read More »

AWS LAMBDA || A Beginner’s Guide on TeamITServe

AWS Lambda details Running codes requires resources that can sometimes be inaccessible for many. AWS released Lambda in November 2014 to solve this problem. Lambda is a compute service that can run codes without any provisioning. Lambda by AWS is a server-less, event-driven computing platform. With the help of AWS Lambda, users can run code for applications and backend services with absolute zero administration and pay only for the compute time consumed. AWS Lambda manages all the below mentioned administrations: Features of Amazon Web Service Lambda:-

AWS LAMBDA || A Beginner’s Guide on TeamITServe Read More »

AWS SNS (Simple Notification Service)

SNS is Simple Notification Service. SNS is an AWS managed web service which is easy to set up, operate, and send a notification from the cloud platform like AWS. It provides developers with the highly scalable, cost-effective, and flexible capability to publish messages from an application and send them to other applications. Feature of SNS: → Messages published to an SNS topics will be delivered to the    subscriber immediately → Inexpensive, pay as-you-go model with no upfront cost. Amazon SNS is a web service that manages sending messages to the subscribing endpoint. In AWS SNS we have two clients: Publisher: Publisher are also known as producers that produce and send the message to the SNS. Publisher is the one who has all privileges which can manage who can send messages on topic. Subscribers: Subscribers are those who receive the messenger notifications from AWS SNS (Webservers, email address, Amazon SQS Queues, AWS Lambda). SNS TOPIC Delivery Formats/Transport protocols (Endpoints) Limitations of AWS SNS: Supported Push Notification Platforms: SNS Topic can have subscribers from any supported push notification platform as well as any other endpoint type such as SMS or Email. When you publish a notification to a topic, SNS will send identical copies of that message to each endpoint subscribed to the topic. Amazon SNS alternatives: Amazon Simple Notification Service Pricing Lambda roles AWS Simple Notification Service SETUP 2. Now we need to create a topic. Basically it is a message channel when you publish a message to a topic it fans-out the message to all subscribed endpoints. 3. After the topic is created it will be shown to you in your next tab and the rest of the basic details you can set as default. 4. Now in the access policy section we need to define who can publish the topic. In my case I am taking default only the topic owner can publish option. 5. Now define who can subscribe to this topic in my case I am taking everyone can subscribe. 6. Now in section delivery retry policy I am using the default options. 7. Now in delivery status logging I am using default options because we don’t want to collect logs and the tags this time we are not giving any tag to this service. Once it is done click create topic. 8. Once it is created you will see a successful message that topic is created successfully now you can create subscription and send messages to them from this topic. 9. Now click on create subscription to create subscription. 10. Now create a subscription select protocol which you want to choose. In my case I am taking email. 11. In the endpoint enter your email on which we want a message. And rest of the options use default. Once it is done click create subscription. 12. Now on your email you will receive a mail for subscription. So click on confirm subscription. 13. Once subscription is confirmed the status will be changed to confirm. 14. Now select subscription and then click on publish message to send messages. 15. Now fill the subject and message body whatever message we want to send to our subscribers. 16. Once all the details fill click on publish message. 17. Once you receive a message published to a topic successfully then we will receive mail in your inbox. So in this way we can send messages to our subscribers. Send text messaging from Simple Notification Service Amazon SNS lets you send SMS text messages to any phone number. 2. In the next tab you will have to choose message type (i.e. Transactional & promotional) I am using promotional messages for now. 3. After this fill the mobile number and message you want to deliver to your customer. 4. Once you click publish message it will send a message on your phone number. If you need help in configuring this cluster, feel free to email us vic@teamitserve.com or call us at +1 810 214 2572

AWS SNS (Simple Notification Service) Read More »

Scroll to Top