Introduction to Salesforce API in C#
We can use salesforce API to connect or send data to salesforce from C#. The API accepts certain parameters and returns the result. We need not create an extra code in it.
In this example, we are going to upload a file data from C# in the salesforce Document object. For this, we are going to use the salesforce document API.
We need to know the salesforce access token and instance URL to connect it to and use the API.
The code in c#:
AWS CloudFront is a web service that accelerates the delivery of your static and dynamic web content such as .js, .css, .html, and image files, and also audio, video, media files, to your users. It distributes your content by using a global network of data hubs called edge locations.
A CDN (Content Delivery Network) is a globally distributed network of caching servers that speed up the downloading of web pages and other content. CloudFront uses DNS (Domain Name System) geo-location to determine the geographic location of each request for web pages. Then […]
Microsoft Azure – Monitoring
Microsoft Azure provides an overall monitoring solution. Azure Monitoring helps us to track performance, maintain and identify trends. It comes with a GUI tool that is easy and powerful.
It is the platform service that provides a single source for monitoring Azure resources with Azure Monitor, you can visualize, query, route, archive and take action on the metrics and logs coming from resources in Azure. You can also work with this data using the Monitor portal blade, Monitor Powershell, cross-platform CLI, Azure monitor REST APIs.
It not only provides Activity Log and Diagnostic Logs […]
Introduction to Athena
Athena is a serverless and interactive query service that makes it easier to analyze data directly from Amazon S3 using Standard SQL. It is used to query large amounts of data stored in the Amazon S3 bucket it uses Presto as its querying engine. Query results are cached in S3 by default for 45 days. It also stores the metadata of the data stored in S3 in CSV, JSON or any other format. For that, it uses AWS glue catalog metadata (hive metadata store). We pay per query (1Tb scanned = $5 […]
Auto Scaling Overview
Auto Scaling is an Amazon service that helps the developers to scale the resources automatically across multiple services and optimize the applications. It monitors your resources and automatically adjusts the resources according to the requirement. It maintains the best fit balance between cost and performance. It provides a user interface where user can build the scaling plans for the resource like Amazon ECS tasks (Amazon Elastic Container Service), Amazon DynamoDB tables and indexes, Amazon Aurora Replicas and even Amazon EC2 instances.
You can easily start with Amazon Auto Scaling using Command Line Interface(CLI), SDK […]
1. Database migration from ec2 to RDS
Backup and restore DB
# pg_dump -Fc -v -h [instance endpoint] -U [master_username] [database] > [database].dump
createdb [new database name]
# pg_restore -v -h [instance endpoint] -U [master_username] -d [new database name] [database].dump
In below file changes required with following directives
# vi /etc/openproject/conf.d/00_addon_postgres
# openproject restart
2. Set S3 bucket for storage for attachments
# vi /etc/openproject/conf.d/other
Comment the below line
And, add the below directives at the end of file
Overview of AWS Lambda:
AWS Lambda is a service of the Amazon Web Service which allows the user to execute the code in a serverless manner. A serverless manner means the user can execute the code without having the server or without managing any server. The user doesn’t need to worry about the machine or any other things like the operating system(OS) on the machine, attached security patches, and other necessary components. Users will just run the code with the help of the Lambda service.
Lambda is an automatic version of EC2 that is used to […]
How we can encrypt EBS root volume in AWS?
I am assuming that you have already launched the predefined Amazon Machine Image template, Now Open the EC2 dashboard and navigate the “Elastic Block Store”. Click on the ‘Volumes’ option.
You can check in Description section your volume is not encrypted, As shown in the following screenshot(b) under the red marked area. But make sure you selected the right volume for encryption. For the confirmation, you can identify your volume with Volume ID. It should be like “Volume ID – vol-01a1647b2178ec243” which is attached to your EC2 […]
Azure Backup is the Azure-based service you can use to backup and restore your data in the Microsoft cloud. Azure Backup replaces your existing on-premises or off-site backup solution with a cloud-based solution that is reliable, secure, and cost-competitive. Many cloud vendors offer some kind of backup service as it is a simple but important use case for every business.
Backing up your data to a cloud service like Microsoft Azure has a few advantages over traditional on-premise backup solutions which include:
When you taking backing […]