Categories
AWS

How to Resolve Unable to Remote Login to AWS Due to the Firewall?

In our last post, we talked about how to mount a disk in AWS. Today, let's see hwo to fix the issue when you are unable to remote login to AWS due to the firewall. Problem Description When the AWS firewall is enabled (sudo ufw enable), all external access to the instance (e.g., using xshell) […]

Categories
AWS

How to Mount a Disk in AWS EC2?

In our last post, we talked about how to check for unreleased cursors in SQL Server. Today, let’s see how to mount a disk in AWS. Steps to mount a disk in AWS 1. Create an EC2 instance. 2. Create an EBS volume and associate it with the EC2 instance via the console (Make sure […]

Categories
AWS

How to Access Object Storage Using the S3 API in Python?

In our last post, we discussed how to bulk rename files in AWS S3 using Python. Today, let’s talk about how to access object storage using the S3 API in Python. To access object storage using the S3 API in Python, the demo code is as follows. How to use boto3 to connect to S3?   […]

Categories
AWS

How to Bulk Rename Files in AWS S3 Using Python?

In our last post, we have discussed how to run python scripts in AWS. Today, let's see how to bulk rename files in AWS S3 Using Python. Since AWS S3 currently does not have a direct renaming interface, we can achieve renaming by first copying the file with a new name and then deleting the […]

Categories
AWS

How to Get the Object Count in An AWS S3 Bucket?

In my last post, we talked about how to increase the speed of copying files from an S3 bucket to the local machine. Today let's talk about how to get the object count in an AWS S3 bucket. Background AWS S3 does not provide a direct API to get the number of objects in a […]

Categories
AWS

How to Increase the Speed of Copying Files from an S3 Bucket to the Local Machine?

In my last post, we talked about the reasons for slow file copying speed on EC2. Today, let's discuss how to speed up file transfers when using AWS S3. You can refer to this AWS document for the underlying principles. How to increase the speed of copying files from an S3 bucket to the local […]

Categories
AWS

5 Reasons for Slow File Copying Speed on EC2 and Solutions

In my last post, we talked about how to transfer files from a website to AWS S3, and today let's talk about how to fix the slow file copying speed on AWS EC2. The slow file copying speed on EC2 may be caused by 5 factors: 1. Network Bandwidth Limitations: EC2 instances have limited network […]

Categories
AWS

How to Upload Files from a Website Directly to S3?

In my last post, we talked about what is AWS virtual private network and today let's talk about how to upload files from website to S3. S3 (Simple Storage Service) is an object storage service provided by Amazon Web Services (AWS) known for its high reliability, scalability, and low latency. Uploading files from a website […]

Categories
AWS

What Is AWS Virtual Private Network (VPN)?

In our last post, we talked about how to export data from AWS S3 for migration and today let’s discuss what AWS Virtual Private Network is. AWS Client VPN   First, AWS Client VPN is a client-based managed VPN service provided by AWS. With AWS Client VPN, you can access resources in your AWS private […]

Categories
AWS

How to Export Data from AWS S3 for Migration?

In our last post, we talked about What Oracle RAC Scan Listener is and today let’s see something about exporting and migrating data from AWS S3. Recently, I have been working on deploying a Python system, using many of the free 12-month packages offered by AWS, with S3 being one of them. The S3 service is not […]