AWS

Amazon Web Services (AWS), is a collection of remote computing services, also called web services, that make up a cloud-computing platform  operated from 11 geographical regions across the world. The most central and well-known of these services include Amazon Elastic Compute Cloud, also known as "EC2", and Amazon Simple Storage Service, also known as "S3". Other services include Elastic MapReduce (EMR), Route 53 (a DNS web service),  provides a highly available and scalable Domain Name System (DNS) web service, Virtual Private Cloud (VPC), storage, database, deployment and application services.

Share tech news, updates, or what's on your mind.

Sign up to Post

Woocommerce db just moved to a new Amazon instance.  Did mysqldump of old instance and then import via mysql.  The backoffice comes up the pages show but when you try to view them this error shows

https://gyazo.com/6a19c26d8530df1b2d98e82253534dd6

This is a snapshot of the posts table.  As you can see there are over 50,000 entries.

https://gyazo.com/2fb664b3a1b2acaa0f55bce5bc6f0612

Please let me know what to do I am down completely.
0
ON-DEMAND: 10 Easy Ways to Lose a Password
LVL 1
ON-DEMAND: 10 Easy Ways to Lose a Password

Learn about the methods that hackers use to lift real, working credentials from even the most security-savvy employees in this on-demand webinar. We cover the importance of multi-factor authentication and how these solutions can better protect your business!

I am getting this error when I run ifup eth0
ifup eth0
ERROR     : [/etc/sysconfig/network-scripts/ifup-eth] Device eth0 does not seem to be present, delaying initialization.

Open in new window


I am using Centos 7 on an Amazon instance.

This is my config file for eth0
DEVICE="eth0"
BOOTPROTO="dhcp"
ONBOOT="yes"
TYPE="Ethernet"
USERCTL="yes"
PEERDNS="yes"
IPV6INIT="no"
PERSISTENT_DHCLIENT="1"

Open in new window


When I run service network restart I get this message
 service network restart
Restarting network (via systemctl):  Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details.
                                                           [FAILED]

Open in new window


This is what it says in the journal file
[root@ip-172-31-31-237 network-scripts]# journalctl -xe
--
-- Unit network.service has begun starting up.
Jul 08 09:20:56 ip-172-31-31-237.ec2.internal network[2050]: Bringing up loopback interface:  [  OK  ]
Jul 08 09:20:56 ip-172-31-31-237.ec2.internal network[2050]: Bringing up interface ens5:
Jul 08 09:20:56 ip-172-31-31-237.ec2.internal dhclient[2180]: dhclient(761) is already running - exiting.
Jul 08 09:20:56 ip-172-31-31-237.ec2.internal network[2050]: Determining IP information for ens5...dhclient(761) is already running - exiting.
Jul 08 09:20:56 ip-172-31-31-237.ec2.internal network[2050]: This version of ISC DHCP is based on the release available
Jul 08 09:20:56 

Open in new window

0
Hi Experts,

      I have two containers running on dockers.  

root@ip-10-252-14-11:/home/ubuntu/workarea/sourcecode/ntdl# docker container ls
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS                  NAMES
596874f0eedb        dcf3be75c970        "start"             8 days ago          Up 8 days           0.0.0.0:8009->80/tcp   iiif
91c61a7ea455        8a38b977270d        "start"             8 days ago          Up 8 days           0.0.0.0:8008->80/tcp   ntdl

Open in new window


wagtail(Django)  (ntdl )application on port 8008
wagtail application similar to django applicationimage server running independently on 8009
IIIF IMAGE Serverwagtail (ntdl) without zoom image not communicating with iif image server
wagtail application not talking to iiif image server
without zoom image from image server
console logs details
console log on browser windowconsole logs
::net ERR_CONNECTION_REFUSED for accessing iiif_image server.  

nginx is installed with wagtail ntdl application
Please help me in resolving this issue.



With many thanks,
Bharath AK
0
I am working for a utility company. For hosting we use Linode right now.

I wanted to set up some form of redundancy in the event that the website goes down.

So I was thinking about using failover. As I understand I would need two (or more) web servers and two DNS servers. Is this correct?/

I was going to have one web server with Linode and one with AWS. For DNS I was going to have one with Linode and one with AWS.

Does this sound like a good setup?
0
If I wanted to transfer data from my data center to AWS S3 at a rate of 80Gbps - what would be my options?
0
Hello, we are currently migrating some websites into AWS VPS hosting (or whatever they call it I’m not in billing), and want to know what other people use as a DNS provider, does AWS provide DNS services, if not what DNS providers do you use to host websites.
In particular we are looking for DNS services that can do things like SPF and DKIM etc.. (so not afraid DNS)

I thank you for your help in advance.
0
This is using AWS Amazon Linux instance. I want to setup clamav onto this instance. Please see the setup as follows,

     1. sudo yum install clamav clamav-scanner-sysvinit clamav-update; setup completed successfully
     2. sudo freshclam;  Anti-virus signatures downloaded successfully
     3. chmod -R clamscan.clamscan /var/log/clamd.scan
         chmod -R clamscan.clamscan /var/run/clamd.scan
         chmod -R clamscan.clamscan /usr/lib/clamd.scan

         all applied successfully
     4. However, attempt to start daemon - clamd.scan failed.

         service clamd.scan start;  
         result:  Starting clamd.scan         [Failed]
     5. Manual scanning using "clamscan -r" is completed successful.

Please see the attached /etc/clamd.d/scan.conf as attached.
scan.txt
0
If your data center is in the same data center as an AWS Availability Zone data center - would it be
possible to create a Direct Connect just by patching from your gear to theirs? That is - is there a
way you could avoid some of expense of a carrier getting packets to/from AWS by virtue of being
physically located in one of their data centers?
0
Starting with AD FS in Windows Server 2016, you can now create an AD FS Farm without domain admin privileges. Following the steps outlined in the following blog, https://docs.microsoft.com/en-us/windows-server/identity/ad-fs/deployment/install-ad-fs-delegated-admin, is there a way to enable AD FS Device Registration? It seems that this step would still require domain admin rights. With services such as AWS Microsoft AD directory, AWS exclusively retains the enterprise administrator account of the forest and domain administrator account for the root domain to deliver the directory as a managed service. As such, we need another way to get the Device Registration service enabled. AWS allows you to extend/modify your AD schema by adding new object classes and attributes via an LDIF import. Could this be a possible workaround?
0
What is the process needed to get the AWS KVM and ZEN drivers loaded in a VMWare Ubuntu 18.04 LTS System before we use the AWS migration tool to put in on an AWS Instance ?  I’m specifically needing what and how to preload the drtivers etc.
0
KuppingerCole Reviews AlgoSec in Executive Report
KuppingerCole Reviews AlgoSec in Executive Report

Leading analyst firm, KuppingerCole reviews AlgoSec's Security Policy Management Solution, and the security challenges faced by companies today in their Executive View report.

I am getting ready to hire a contractor to write and Amazon AWS script to check our RDS instances daily and shutdown two of the three RDS instances if they are online. I was told it would take 80 hours to write such a script. I feel like this is a huge amount of time, and I want to confirm with someone here who is more knowledgeable in AWS script writing. Does that sound right?
0
Need to take snapshot of physical running Linux (RHEL 6/7) server with all partition. Restore it or mount on a fresh Linux Server. Restoration media may be cloud like AWS or Azure or new fresh Linux physical machine. Is it possible without any third party tool? Need steps from snapshot to restoration.

This is not linux LVM snapshot and Restoration.
0
Connecting to MySQL database with Amazon Web Services (EC2) and PHP.

Hello,

I have an AWS (EC2) account set up with PHP, MySQL installed and running an Apache server.

I am trying to make a connection from my PHP application to my MySQL database which is running on the same server.

I am using this in my PHP to connect to the database:

mysql_connect("localhost", "root", "pw1");

However, I am getting this error in the log file:

PHP Fatal error:  Uncaught Error: Call to undefined function mysql_connect()

I am brand new to this so this is likely to be a configuration issue or just the approach I am using. I have searched the AWS documentation and online forums for answers, but none seem to fix the issue. Any help here would be greatly appreciated.
0
If you use a VIF - I understand you can attract all your S3 traffic over the Direct Connect circuit instead of going to the public internet. Is the full set of addresses to be used for S3 published anywhere so that we could create the right set of BGP filters to make sure that only the desired S3 traffic gets attracted to the Direct Connected instead of just going to the Internet?

Currently the path from our internal hosts to S3 storage is via the Internet to Amazon public IP. The goal is to get that traffic to go over our Direct connect circuits. I believe the method is using VIF and then those addresses get advertised via BGP over the DX. I want to filter those routes so unintended traffic doesn't go over the direct connects.
0
Hi,

I have an EC2 instance, as well as a S3 bucket.

I have mapped to the S3 bucket from the EC2 instance successfully, using a third party app called ExpanDrive, it maps as a Z drive.

I have done the same from my local PC. Also mapped as a Z drive.

I can save a file into my new Z drive, and it appears immediately in the corresponding Z drive on the server.

Problem is, the document management system we have installed on the EC2 instance has an automated collection facility where it collects and ingests any files dropped into the shared folder, but it is failing. Log files say it is access denied.

We tried running the application as administrator - no change.

Can an AWS guru please advise on what might be necessary here?

Many thanks in advance.
0
hi,

can oracle move data easily between AWS/Azure, can local oracle installation can work with Cloud easily. e.g. archive data move  back and forward to cloud easily
0
Is there a means of creating a GRE or IPSec tunnel over a Direct Connect connection between
AWS and a corporate network?
0
If you have two accounts in AWS with one linux host in each - what options do you have to copy files (sftp) between the two hosts?
What would be the options? What would be the fastest? The least costly?
0
hi,

When comparing Azure on SQL server and MariaDB as well as AWS on MS SQL and MariaDB, what is the preference of choice.
0
Cloud Class® Course: Python 3 Fundamentals
LVL 12
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

Re Amazon S3 Modified Date... Yesterday we had to download a file from S3 and realized that the new Modified Date of our file, after we downloaded it, was yesterday's date rather than the original Modified Date.  We searched around for conversations about this and learned that it is a long-standing issue with S3 (though some would suggest it is by design, in that S3 is not "file" system; rather it is an "object" system).

Ok, but the problem still exists, and we're not interested in devising some VB solution or using a 3rd party program to maintain that attribute.  Is there yet a "standard" solution for this in S3?  Assuming not, can someone recommend another well-supported repository for our backups that WILL maintain the file attributes (i.e. OneDrive, Azure)?

Thank you...

Update:  One solution we found was, if using Cloudberry Restore, Cloudberry retains the Modified Date.
0
I need help with static routing for an AWS managed Vpn connection to a either a Greenbow VPN client or another AWS VPC. I am a developer, not a network engineer, but I have set up both hardware and software VPNs in the past, just never AWS managed. I know the easiest way is to just peer the VPCs together but that is not how we want to set it up. First off I am not sure if you can even connect two VPCs using the AWS managed VPNs. From what I have read they can not initiate connections, only receive them so manged to manged may not be possible.  We tried setting up a Greenbow VPN client on a VPC with no manged VPN connection and when we try to connect we are able. The problem is that we can not ping any machines. All firewall rules are configured properly ( we can ping using the external IPs). Basically we have the windows firewalls turned off and the AWS security groups allowing all traffic between the two VPCs. Here is where I believe the problem is and it comes with question. We set the VPN connections to use static routing and added a route to the managed VPN subnet routing table specifying the subnet that the Greenbow client is in and used the managed gateway as the target. On the Greenbow side we configured it with the subnet we want to reach on the managed VPN side. so Here is an example to make it more clear:

Our side of the VPN (the one with the Managed VPN connection) subnet:  172.31.0.0 mask 255.255.0.0
Client side of the VPN (the one with the Greenbow client) …
0
Hello,

I am having an issue with my Amazon EC2 Instance. I want the information panel that appears on the top right of the instance when you access it (as displayed in the image below) to be modified. Is there a way to add lines of information from sources like one of the instance tags?

If someone has a solution to this that would be excellent. Thank you for taking the time to read this :).

0
Could someone advise me how you could set something up on AWS that would be like or exactly a streaming media server? I use that term because I heard others call it that. I want to play media from a website, and I do not want the user to be able to download the content. I do not mean something that is simple like; not have a download button. I mean when the user comes to the site with things like IDM it just cannot be done. I would like to accomplish this most simply. I do not want to pay anybody for this I want to learn about the technology to accomplish this myself. I am not asking how to do it; I am asking what technology do I have to learn about and implement on AWS to accomplish this (keywords links etc.). Thanks
0
hi,

for user of MySQL and MariaDB, what tools and way you all to debug performance down to query level. e.g. which part of the query slow everything down?

please share.

if move to RDS by AWS, still easy to debug ?
0
Hi,

I have a django application running on AWS server. It was working all good from past 2 one month. Suddenly now apache2 default page is coming up.

Can anyone please help me with this?

Thanks
0

AWS

Amazon Web Services (AWS), is a collection of remote computing services, also called web services, that make up a cloud-computing platform  operated from 11 geographical regions across the world. The most central and well-known of these services include Amazon Elastic Compute Cloud, also known as "EC2", and Amazon Simple Storage Service, also known as "S3". Other services include Elastic MapReduce (EMR), Route 53 (a DNS web service),  provides a highly available and scalable Domain Name System (DNS) web service, Virtual Private Cloud (VPC), storage, database, deployment and application services.