[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More



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

We have a 2008 server in AWS and we need to remove and re-add it back to the DNS/Domain.
Is it as simple as if it were sitting in my local computer room or is it a really evolved process?
Meaning that I need to alter or deal with the Instances.
Angular Fundamentals
LVL 12
Angular Fundamentals

Learn the fundamentals of Angular 2, a JavaScript framework for developing dynamic single page applications.

I am trying to find out the specific permissions that are granted to an object in an S3 bucket.This object is in sub folders within the bucket. I can see the general permissions in the Web Management console, but I need more detailed information.

I have tried using this command in the AWS CLI:

aws s3api get-object-acl --bucket BUCKET_NAME\FOLDER_1\FOLDER2\ --key FILE_NAME.EXT

but this does not seems to work, I either get regex errors, or the specified key does not exist. I can use get_bucket_acl using just the bucket name and can access that buckets permissions.

Any help on this would be greatly appreciated.

Devin Becker

Extracted from above links, "Agentless services, on the other hand, talk directly to the underlying cloud platform (e.g., AWS, Azure)...",

Is AWS' AV subscription now an agentless AV?  Is this the agentless Deep Security?

If there are appliance VMs (eg: highly stripped-down Linux), is it the way to go to
adopt agentless (as we may subscribe to say Commzgate SMS or cloud-based
services) AV/end-point IPS as agents can't run/install in the stripped-down guest

in the case of AWS' AV/IPS service (ie the 2nd link above), is this an SaaS of FaaS
(Function as a Service)?
Hi Experts,
I am completely new to AWS. I have been assigned a task to transfer the files of  'x' folder  on the server to s3 bucket .  Because the server space is getting filled very fast. We need an automated power shell script or something else which would move the files everyday automatically and delete the files from the server.

Any help would be greatly appreciated!
I am encountering an error when I try to install memcached on a PHP 7 - Linux AWS system.  This is the command I am using that generates the error.
yum install memcached php-pecl-memcache

Open in new window

This is 1 of 2 errors:
Finished Dependency Resolution
Error: Package: php-pecl-memcache-3.0.8-4.amzn2.x86_64 (amzn2-core)
           Requires: php(api) = 20100412-64

Open in new window

Error: Package: php-pecl-memcache-3.0.8-4.amzn2.x86_64 (amzn2-core)
           Requires: php(zend-abi) = 20100525-64

Open in new window

Please help me with how to finish installing memcached.

I've installed a version of the Unifi Controller to the AWS cloud before, but it's been over 6 months. I went to install a second, built my EC2 on AWS as per the instructions, but then I couldn't get the UNIX commands to work after install. It was flawless before. I'm not getting anywhere with searching on the error.

Here's the command from the instructions that fails after launching the instance:

Once you connect to the Server and are greeted with the Ubuntu Command Line Interface (CLI), do the following:
5.1. Add the Ubiquiti repository to /etc/apt/sources.list:
echo "deb http://www.ubnt.com/downloads/unifi/debian stable ubiquiti" | sudo tee -a /etc/apt/sources.list

HERE's what I get...

[ec2-user@ip-172-31-22-106 ~]$ echo "deb http://www.ubnt.com/downloads/unifi/debian stable ubiquiti" | sudo tee -a /etc/apt/sources.list
tee: /etc/apt/sources.list: No such file or directory
deb http://www.ubnt.com/downloads/unifi/debian stable ubiquiti

The instructions are found at:  https://help.ubnt.com/hc/en-us/articles/209376117-UniFi-Install-a-UniFi-Cloud-Controller-on-Amazon-Web-Services

Has anyone RECENTLY gotten the Unifi Controller installed on AWS?  I didn't even get to the point of installing the controller. Just made it to the point where it would pull it down.

Hi Experts,

I have elasticsearch installed on ubuntu aws machine.  It is running properly,  see below image for reference.

elastic-search.pngI am not able to access this elastic search from windows.

I had tried on browser. I get this site cannot be reached on the browser.  same way I had installed curl on windows and tried to access it

I had tried curl -XGET ""  I get failed to connect ipaddress on port 9200: connection refused.  Ip address and ports are open from the aws ubuntu machine.

When I try on ubuntu machine

root@ip-10-252-14-11:/home/ubuntu/workarea/sourcecode/ntdl# curl -XGET ''
health status index    uuid                   pri rep docs.count docs.deleted store.size pri.store.size
yellow open   ntdl_v01 VSKQjn3RSRSRBHbOaQzEBw   5   1        465            0      2.6mb          2.6mb

the public ip is, network.host in elasticsearch.yml is and the port is 9200.

Please help me in resolving this issue.

With Many thanks,

Bharath AK
I'm starting a new web development project and have decided on using PHP with the latest version of the Laravel framework (currently v5.7). I'll likely be deploying to AWS, and will be using Amazon Aurora as the database engine (which is supposed to be MySQL compatible).  As I prepare to dive in, a few questions have come to mind that I'm hoping someone here can answer.  I'm relatively new to the Laravel framework, I must say, so I a apologize in advance for my ignorance.

1) What options are available to me for setting up a local development environment under Windows 10 Home Edition (64-bit)?  So far, I've read about using Vagrant/Homestead, (which sounds complicated and like it might require Windows 10 Professional) -- and also using WAMP, which I already have installed and running on my machine. By any chance, does some kind of pre-configured Virtual Box disk image exist anywhere that I could download and install that would simplify things for me?  

2) Is there anything important that I need to keep in mind (that's not so obvious) regarding the supposed MySQL compatibility of Amazon's Aurora database engine as I'm developing and/or deploying?  Can I safely treat Amazon's Aurora as a normal MySQL database engine, or are there any "gotchas" that I should be aware of such as driver compatibility, etc?

3) What's the most current trend regarding which templating system to use with Laravel? I know that it comes with the Blade templating engine, and I've heard some …

Running PHP 7.0.27 on AWS EC2 linux.

I have a timer operating in a crontab which leads to a PHP script where I search for a particular user who has left their client with the app page unused for the timeout period. This timeout period is known by checking their DB entry using a UTC code when it was written.

Having ID'd the user's member number, and therefore the session_id in the table, I want to use the above script (used by crontab) to kill this user's session in the server so that whenever they try to use the app it will fail and they will get a message about logging off.

For my PHP script at the start I have ..
EG below goes here
And at the end of the script I have ..

The crontab works fine. The script is good till the session-killing part. Here's what I found on the internet at php.net/manual/en/.. :

$session_id_to_destroy = 'nill2if998vhplq9f3pj08vjb1';	// From DB entry

// 1. commit session if it's started.

if (session_id())

// 2. store current session id

$current_session_id = session_id();

// 3. hijack then destroy session specified.


// 4. restore current session id. If don't restore it, your current session will refer to the session you just destroyed!

session_start();						// A

Open in new window

I want to transfer a 50g file to AWS S3 bucket.  What would be the simplist way to do a mulita part upload?
Redefine Your Security with AI & Machine Learning
Redefine Your Security with AI & Machine Learning

The implications of AI and machine learning in cyber security are massive and constantly growing, creating both efficiencies and new challenges across the board. Check out our on-demand webinar to learn more about how AI can help your organization!

How to add a * DNS entry to the etc/hosts file in Centos? This is to allow S3 calls to a cloudian instance.
In an AWS VPC Is there  a means of shrinking a subnet which is already in existance?
The issue is the team wants to add a new availability zone. But my /16 is tapped out.
So one theoretical option would be to shrink the overly generous /19s down to
/20s. But it looks like EC2 address assignments are all over the place. Is there
a way to do this?  

app-alpha-us-east-1a         2/8192
app-alpha-us-east-1b         2/8192
app-alpha-us-east-1c         2/8192
app-beta-us-east-1a               2/8192
app-beta-us-east-1b               2/8192
app-beta-us-east-1c               2/8192
dmz-alpha-us-east-1a         2/1024
dmz-alpha-us-east-1b         2/1024
dmz-alpha-us-east-1c         2/1024
dmz-beta-us-east-1a               2/1024
dmz-beta-us-east-1b               2/1024
dmz-beta-us-east-1c               2/1024
db-alpha-us-east-1a               2/512
db-alpha-us-east-1b               2/512
db-alpha-us-east-1c               2/512
db-beta-us-east-1a               2/512
db-beta-us-east-1b               2/512
db-beta-us-east-1c               2/512
admin-us-east-1a               2/256
admin-us-east-1b               2/256
hi EE Folks

i am thinking to create a web app for testing a few ideas in my mind, hence want to know your opinions to choose a right hosting and development platform from GAE, AWS and Azure.

baiscally, the requirements are (1) zero hosting cost during development, (2) zero hosting cost for low-traffic to the website, and (3) easily scale up with minimum changes to web app or configuration.

any thoughts or where can i see a comprehensive comparison regarding the three platforms in terms of free-tier, pricing, database, language support, custom domain name and SSL.

thanks & regards,

I'm currently working in AWS and trying to use a Lambda function to automate the creation of my AMIs. I'm doing this via the use of the Python script below, but when I test it it returns an error. Can anyone shed any light on what I should be looking at please?


import boto3
import collections
import datetime
import sys
import pprint

ec = boto3.client('ec2')
#image = ec.Image('id')

def lambda_handler(event, context):
    reservations = ec.describe_instances(
            {'Name': 'tag-key', 'Values': ['backup', 'Backup']},
        'Reservations', []

    instances = sum(
            [i for i in r['Instances']]
            for r in reservations
        ], [])

    print "Found %d instances that need backing up" % len(instances)

    to_tag = collections.defaultdict(list)

for instance in instances:
        retention_days = [
            int(t.get('Value')) for t in instance['Tags']
            if t['Key'] == 'Retention'][0]
    except IndexError:
        retention_days = 7


        #for dev in instance['BlockDeviceMappings']:
        #    if dev.get('Ebs', None) is None:
        #        continue
        #    vol_id = dev['Ebs']['VolumeId']
        #    print "Found EBS volume %s on instance %s" % (
        #        vol_id, instance['InstanceId'])

            #snap = ec.create_snapshot(
            #    VolumeId=vol_id,
how can i set up 2 subents in AWS and be able to route between them ?

NACLs? subents confing , etc??

i have never done this before  and very very new to AWS
Jump starting Azure development skills

I am a C#.NET Ful Stack, ASP.NET developer, with limited experience with AWS.

I'd like to understand Azure well enough to talk the talk and land a contract job which requires some experience with Azure.

What training videos should I start with to get me started on this road?

I am looking for alternatives to AWS for cloud hosting.

We have a smaller client that is looking to move 3 Windows virtual machines to a cloud hosted solution, so AWS may be overkill.

We are also looking at Rackspace and US Signal as alternatives.

Any other suggestions would be greatly appreciated.


I need to enable mod_rewrite for Linux 2 on an AWS instance.  I have a vhost file in which I want to put the rewrite rules.  I have tested it with this simple command
RewriteRule ^.*$ http://www.wordpress.org/ [R]

Open in new window

and nothing happens

here is my httpd.conf concerning the document directory for all of the websites

<Directory "/data/www">
   AllowOverride All
    # Allow open access:
    Require all granted
        Options Indexes
        Options FollowSymLinks

Open in new window

Each virtual directory starts with /data/www/ then the name of the respective website such as /data/www/abc.com

Here is my vhost file for https://abc.com

  <Directory /data/www/abc.com>
                        Require all granted
                        RewriteEngine On
RewriteRule ^.*$ http://www.wordpress.org/ [R]
RewriteCond %{QUERY_STRING} controller=cms [NC]
RewriteCond %{QUERY_STRING} id_cms=([0-9]+)\%3F [NC]
RewriteRule ^/?index\.php$ /index.php?controller=cms&id_cms=%1 [NC,R=301]

RewriteCond %{QUERY_STRING} controller=product [NC]
RewriteCond %{QUERY_STRING} id_product=([0-9]+)\%3F [NC]
RewriteRule ^/?index\.php$ /index.php?controller=product&id_product=%1 [NC,R=301]

                        RewriteRule ^/webmedia/(.*) / [R=301,L]

Open in new window

Please help me to get rewrite working properly.
1.  I  am looking for a latest AWS Poster showing all the major services to include brief explanation, with possible examples.  If Icons are also included it will be good.

2. What is the best easy to understand and remember all the AWS services.  Any helpful link will be appreciated.

Thank you.
Defend Against the Q2 Top Security Threats
Defend Against the Q2 Top Security Threats

Were you aware that overall malware worldwide was down a surprising 42% from Q1'18? Every quarter, the WatchGuard Threat Lab releases an Internet Security Report that analyzes the top threat trends impacting companies worldwide. Learn more by viewing our on-demand webinar today!

Hello Experts,

I have recently inherited a hybrid Exchange environment in my new position, and it appears Exchange 2010 is co-existing on-prem with an AWS instance of Exchange 2016 configured for Office 365 Hybrid.  Everything appears to be working ok, but I notice I cannot see the Exchange 2016 server from 2010 when running a Get-ExchangeServer, and even though the new database I created (DB01) on the 2016 server is definitely where it is supposed to be, the 2010 server thinks DB01 is on the 2010 server.  I need a quick nudge with this one and would appreciate an assist.  Thank you.

I've been reading lots about AFS (Azure File Sync) and people seem really happy with it.

We have to sites where we have file servers that replicate using DFS, mainly for DR, so if we lost the file servers at Site A users would have difficulty for a short period (we would point them to the DR site or recover the file share from backup).  

What benefits are there here for us in this scenario?  Can we point clients directly to AFS and ditch the servers from the start (we have a site with no servers on prem) or do they need to be there for caching/performance reasons?  I assume AFS used DFS anyway?

Or just use AWS S3..?

Anyone used AFS or S3 or on prem DFS for DR or local file share HA?

I need to estimate the hours needed for an AWS project if the employee has Developer, SysOps and Solutions Architect certs.

1. Identity and Access Management
2. Replication of Data Across 2 regions
3. Logging: AWS Service Change Trail, Network Traffic, System logging
3. Virtual Private Cloud
4.  Multi-Tier Stateless Firewall
  • ○ Interface Server DMZ
  • ■ Stateful firewall DMZ ­ Remote Admins
  • ○ Web Accessible/Serving
  • ○ Internal Processing
  • ○ Database/Protected
5. Managed PostgreSQL instance
○ Daily backups
○ Stateful security/firewall
6.  Server Hardening
○ Updated patching and automated security patch upgrade
○ OS based firewall configuration
○ Dependency package authentication and installation
○ System based intrusion detection/prevention
○ Duplication system logs in CloudWatch
○ Automated bots data offload to secure storage
I have an old VB6 application that I need to share with many people outside our organization that have both Windows and Macs.  The first thing that comes to my mind was to setup a terminal server, or whatever is in use today, to share this with everyone.  I have a few questions.  First, am I correct that what I need is terminal server and does that automatically come with the current Windows Server OS?  Also, I understand that a user will login into terminal server with RDP.  Will they be able to print locally from the terminal server session to their location?  Are there any other concerns that come to mind in the scenario that I presented?

Can this be something that I can host on AWS or elsewhere?

Thanks for you guidance.
Hi Experts,

Subprocess.call fails in my python code.

I get the following error when I run the code. the error is as follows:

root@ip-10-252-14-11:/home/ubuntu/workarea/sourcecode/harvest-territory-stories# python3 run.py process
2018-09-26 14:53:11,262 INFO before main ####
2018-09-26 14:53:11,304 INFO inside main
2018-09-26 14:53:11,306 INFO parse received
2018-09-26 14:53:11,306 INFO add_argument
2018-09-26 14:53:11,306 INFO args Namespace(method='process')

2018-09-26 14:53:11,306 INFO before switch

2018-09-26 14:53:11,559 INFO there are 269825 items to process
/usr/local/lib/python3.6/dist-packages/wand/image.py:2758: CoderWarning: Unknown field with tag 42036 (0xa434) encountered. `TIFFReadCustomDirectory' @ warning/tiff.c/TIFFWarnings/881
/usr/local/lib/python3.6/dist-packages/wand/image.py:2758: CoderWarning: Unknown field with tag 42037 (0xa435) encountered. `TIFFReadCustomDirectory' @ warning/tiff.c/TIFFWarnings/881
2018-09-26 14:53:24,938 ERROR Uncaught exception
Traceback (most recent call last):
  File "run.py", line 318, in <module>
  File "run.py", line 306, in main
  File "run.py", line 223, in thumbnails
    create_thumbnails_from_database(destination, thumbnail, cookies, prefix)
  File "/home/ubuntu/workarea/sourcecode/harvest-territory-stories/harvest/extract.py", line 292, in create_thumbnails_from_database
    _handle_pdf(os.path.join(parent, entry.id), 

Open in new window

I am trying to configure a KMS Server Installation on Server 2016 Data center.
Server is an AWS Image
Goal Configure KMS  Licensing for Windows 10 Clients
I received a KMS key based off of a Windows 10 Volume License Key

Upon installing the KMS license Microsoft provided, I receive this message attached.     I believe I need to receive a Server 2016 KMS license Key to license down level clients.  Is this correct per URL below?

If I use slmgr /ipk <xxxxx-xxxxx-xxxxx-xxxxx-xxxxx>   entering the Widnows 10 KMS key, I receive the error in KMS-Error


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.