New answers tagged

2

Create a snapshot of the volume, create an AMI from that, and then launch a new instance. Documentation is here for Linux, here for Windows. I would copy out the steps but it's fairly pointless duplication, given AWS documentation is well maintained and regularly updated.


0

This is very easy. Both home server and client must be connected to the same OpenVPN. Once connected to OpenVPN, they can ping each other using the VPN virtual IP addresses. You must allow client-client in OpenVPN server Make sure that home servers are persistently connected to OpenVPN


0

I have solved this issue. The problem was caused by VPC Endpoints. I placed them in the wrong subnet and security group. I have moved them to the public subnet (next to NAT Instance) and in the same group as NAT Instance (allow incoming traffic from sg where my EC2 is). According to docs: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/vpc-...


0

You don't configure reverse DNS on an instance, but for an IP address. You must have given your instance a persistent Elastic IP address, and then you can request Amazon to set reverse DNS for that IP address.


0

Although having a local cache can be more performant, it isn't the best architectural choice and it isn't the right way to grow your app. As well explained by @Matt Houser, a centralized cache is the right way to go because this can better support your application growth.


1

It's going to depend on your usage, but lacking other information, I'd say it's better to go with a centralized cache. Adding Entries and Cache Hits If you have a centralized cache, then adding to the cache benefits all EC2 instances. But if you have separate caches, then adding to the cache only benefits that EC2 instance. Example: Imagine a DB query is ...


1

Neither AWS::EC2::Instance nor AWS::EC2::NetworkInterface seem to support it. You can make a feature request at CloudFormation Public Roadmap but it's going to be a while before they implement it. Your best option is to create a CloudFormation Custom Resource which is essentially a Lambda function that will be given the instance ID as a parameter and than ...


1

Honestly speaking using RAID for HDFS is not at all recommended. there is an thread on cloudera community portal - https://community.cloudera.com/t5/Support-Questions/Should-we-use-RAID-with-Hadoop/td-p/201381 https://community.cloudera.com/t5/Support-Questions/Do-we-config-our-hadoop-right-JBOD-vs-RAID/td-p/187997 Regarding this point.


0

Hope this helps to those who are using codedeploy agent and having a similar issue. I was using Amazon Linux EC2 instance and my directory was 100% full. first, to run the command I deleted all files /var/log/journal/. then run this command. sudo du -xhc / and found that out of 8GB, codedeploy-agent/deployment-root folder was using 5.1GB space. By default ...


0

If you're looking for an instance with GPU, check out the NVIDIA Click to Deploy images in the GCP Marketplace. They allow you to attach NVIDIA Tesla GPU's. I've demoed this for media encoding and it's been handy on occasion when my local machine can't handle this easily. If you find a solution, please update us here. I'd like to run OBS in the cloud as well....


0

Well, I rebooted again and then created a 1 GB file with fallocate -l 1G test.img to see if it worked and it did. df -h output now looks good: Filesystem Size Used Avail Use% Mounted on udev 224M 0 224M 0% /dev tmpfs 47M 1.6M 45M 4% /run /dev/nvme0n1p1 20G 11G 8.6G 55% / tmpfs 233M 0 233M 0% ...


0

You could use dummy host which will store all the variables you want to share with a help of add_host. Then just access your variables with hostvars - hosts: "18.184.109.70" user: ubuntu tasks: - name: set a variable set_fact: shared_variable: "Some value" - name: add variables to dummy host add_host: ...


5

You can actually connect to S3 bucket from EC2 instance. https://aws.amazon.com/premiumsupport/knowledge-center/ec2-instance-access-s3-bucket/ So you can build it. However, in case you have Veeam Enterprise and Enterprise Plus editions you can use SOBR to configure AWS S3 as a backup repository. https://helpcenter.veeam.com/docs/backup/vsphere/...


4

If it's a t2.something instance class you may be running out of CPU credits. See On clarifying t2 and t3 working conditions? for more details on that. You can monitor your CPU credit balance in the Monitoring tab in the instance details. Other than that it's probably your software - perhaps it's got a memory leak that causes it to slowly run out of memory ...


Top 50 recent answers are included