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

x

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

Hello!

I'm new to building an Amazon Alexa skill and the course I'm taking seems to be a bit outdated. In the course, it says to use event.request.intent to get the intent of the user. However, I'm getting an undefined error. Should I be using something else to get the intent?

exports.handler = function(event, context) {
    console.log(event.request.intent);   
}

Open in new window


Produces this error
TypeError: Cannot read property 'intent' of undefined
Screen-Shot-2018-11-09-at-2.07.39-PM.png
0
HTML5 and CSS3 Fundamentals
LVL 12
HTML5 and CSS3 Fundamentals

Build a website from the ground up by first learning the fundamentals of HTML5 and CSS3, the two popular programming languages used to present content online. HTML deals with fonts, colors, graphics, and hyperlinks, while CSS describes how HTML elements are to be displayed.

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.
0
I am trying to deny AWS services based on users outside an accepted IP address range. I am trying to use a cloudformation script in yml to create a policy. I am a bit new to yml so any advice/help would be appreciated.
deny-ipaddress.yml
0
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
0
So we currently have a Cisco ASA 5512-X, v9.2.

We are currently on split tunnel for VPN, however, we want to move away from split tunnel as it causes routing issues for us to AWS.

Is there a good way for me to build out another VPN interface and apply new profiles/rules to test?
0
https://www.cloudcomputing-news.net/news/2016/oct/31/agentless-vs-agent-based-architectures-why-does-it-matter/
https://aws.amazon.com/marketplace/pp/B01LXMNGHB?qid=1541553180900&sr=0-1&ref_=srh_res_product_title

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

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

Q2:
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
OS?

Q3:
in the case of AWS' AV/IPS service (ie the 2nd link above), is this an SaaS of FaaS
(Function as a Service)?
0
I have a wordpress website on AWS EC2 Ubuntu Linux. I am not good in this department of coding but I get by. I just used created a Load Balancer and attached it to my EC2 instance. I am trying to force SSL (HTTPS) on anyone who visits my site. I have 90% of it correct.  if you visit:

https://www.Example.com
www.Example.com
http://www.Example.com (Redirects to https://www.Example.com)

it works perfectly with Secure. But if you go to
Example.com
http://Example.com

then it goes to a UNSECURE site. and stays on Example.com

In my ".htaccess" file at the very top I have the code below.  So what is the problem? I thank you for the help.


#Force www:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^Example.com [NC]
RewriteRule ^(.*)$ https://www.Example.com/$1 [L,R=301,NC]

# Begin force ssl
<IfModule mod_rewrite.c>
# RewriteEngine On
 RewriteCond %{SERVER_PORT} 443
 RewriteRule ^(.*)$ https://Example.com/$1 [R,L]
</IfModule>

Open in new window

0
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!
1
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:
1.
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


2.  
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.

Thanks,
0
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...

Complete!
[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.

Thanks,
Ken
0
Discover the Answer to Productive IT
Discover the Answer to Productive IT

Discover app within WatchGuard's Wi-Fi Cloud helps you optimize W-Fi user experience with the most complete set of visibility, troubleshooting, and network health features. Quickly pinpointing network problems will lead to more happy users and most importantly, productive IT.

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 http://54.252.92.17:9200 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 "54.252.92.17:9200"  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 '172.17.0.1:9200/_cat/indices?v'
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 54.252.92.17, network.host in elasticsearch.yml is 172.17.0.1 and the port is 9200.

Please help me in resolving this issue.

With Many thanks,

Bharath AK
0
I am trying to verify some AWS prerequisites for Server Migration.  Could someone help me with the following 3 prerequisites listed below.   specifically:

a) verify if the following prerequisite connections are allowed
b) if they are blocked, how to open the requested ports in the fortigate

1)  DNS—Allow the connector (192.168.1.17) to initiate connections to port 53 for name resolution.

 2)  HTTPS on WinRM port 5986 on your SCVMM or standalone Hyper-V host

 3)  Inbound HTTPS on port 443 of the connector (192.168.1.17) —Allow the connector to receive secure web connections on port 443 from Hyper-V hosts containing the VMs you intend to migrate.
0
AWS is not picking up the laptop camera. Camera is definitely working in the windows 10 environment.  My understanding is that webcams do not get picked up by AWS client not sure if it is true for laptop's build-in camera
0
I am trying to reset Disk identifier on one of my hyper-v virtual disks.  AWS support tells me that there is no identifier, and this is preventing me from migrating the virtual disk to the AWS cloud.

I am using the following PS:
 Set-VHD -Path "M:\VMs\Virtual Hard Disks\NC-LBL.vhdx" -ResetDiskIdentifier[1]


I get the following error:

A positional parameter cannot be found that matches parameter name 'ResetDiskIdentifier'

CategoryInfo : InvalidArgument: (:) [Set-VHD], ParameterBindingException
FullyQualifiedErrorID : NamedParameterNotFound, Microsoft.vhd.powershell.setvhdcommand


Could someone assist me with the error?
0
Dear Experts,

I have a brief idea of Amazon Web Services.

I know that you create  an instance: virtual server/PC in the cloud.

The wizard is there to guide and you have to generate and download the key pair in order to access it.

I also know that S3 bucket is used to store the backup of Amazon EC2 instance, but where can I get information on how to do the backup to the S3 bucket using GUI instead of CLI?
0
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 …
0
Hi:

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 ..
session_start();
session_id();
:
EG below goes here
:
And at the end of the script I have ..
session_destroy();


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/.. :

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

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

if (session_id())
{
    session_commit();
}

// 2. store current session id

session_start();
$current_session_id = session_id();
session_commit();

// 3. hijack then destroy session specified.

session_id($session_id_to_destroy);
session_start();
session_destroy();
session_commit();

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

session_id($current_session_id);
session_start();						// A

Open in new window

0
Very long story short: I am trying to manually migrate a hyper-v server to AWS ec-2 without using SMS.

I am copying the vhdx virtual disk as I type.  I plan to use the CLI to import the image into an new instance.  My question is, can I also somehow integrate the xml file from hyper-v manager to copy the config of the vm?  Or should I re-define the vm instance in E2 with a fresh start?  If I do the latter, will it affect any of the windows drivers?(maybe dumb question)
0
I want to transfer a 50g file to AWS S3 bucket.  What would be the simplist way to do a mulita part upload?
0
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!

15 or 20 times a day we see an error like the one below on our lambda instance.
One thing that jumps out is that the source address is a link local address instead
of a normal private (or public) address. Is that normal for lambas to try and use
a link local address as source to their destinations?

There appear to be no network error over DX, no bandwidth problems and thousands
of other connections per hour are successful. It's this small subset we're trying to figure out.

read tcp 169.254.176.149:58672->10.170.10.15:443: read: connection reset by peer
0
Our Active Directory domain says is contoso.com, and our cooperate URL is the same https://contoso.com. URL is publically hosted on AWS and has elastic FQDN, In order to make the URL accesible on internal Newtwork, IT team has created A CNAME record against Public FQDN, But DNS services don't let us create a CNAME with Blank Fields stating "A new record cannot be created. An alias (CNAME) record cannot be added to this DNS name. The DNS name contains records that are incompatible with the CNAME record".  

For now we have created a CNAME with www, with this we open the URL as www.contoso.com, but we want to open it without www internally.
0
Amazon Migration job fails at Uploading 99% Step 2 of 4 in progress.  

The connector, service are both running.  I am able to view hyper-v server list on connector.   Network here is good.  We have cable and fiber.
When I run the AWS VM Import Prerequisites Checker on the VM to be imported everything passes except: Only Local Disks Attached, and Windows Firewall Disabled.  The issue is that the firewall is disabled, and there is no mapped drives, network connections or media connected to the vm.  Any ideas as to why its failing?
0
ASP.NET Core Web Client (RAZOR) Log In using AWS Cognito user pool and AWS .NET SDK to log in user in asp.net core web client

How to use AWS cognito user pool to authenticate and authorise ASP.NET Core WEb Client and ASP.NET Core Web API.

I already created a AWS Cognito User pool and App CLient.. I followed the below article from AWS

https://aws.amazon.com/blogs/mobile/use-csharp-to-register-and-authenticate-with-amazon-cognito-user-pools/

reached the point

      var cognito = new AmazonCognitoIdentityProviderClient(_region);
            //var cognito = new AmazonCognitoIdentityProviderClient(credentials);


            var request = new AdminInitiateAuthRequest
            {
                UserPoolId = _aWSConfig.PoolID,
                ClientId = _clientId,
                AuthFlow = AuthFlowType.ADMIN_NO_SRP_AUTH
            };

            request.AuthParameters.Add("USERNAME", "test@test.com");
            request.AuthParameters.Add("PASSWORD", "P@ssword12");

            var response = await cognito.AdminInitiateAuthAsync(request);

            return strToken = response.AuthenticationResult.AccessToken;

1. what are the next steps so that asp.net core web client is aware the user is logged in ??

example the below are set

User.Identity.IsAuthenticated

User.Identity.Name


User.Claims

2. what other details from token need to be stored where and how in ASPNET Client so that these can be used to send in HTTPCLient request …
0
How to add a * DNS entry to the etc/hosts file in Centos? This is to allow S3 calls to a cloudian instance.
0
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            10.4.0.0/19       2/8192
app-alpha-us-east-1b            10.4.32.0/19       2/8192
app-alpha-us-east-1c            10.4.64.0/19       2/8192
app-beta-us-east-1a                  10.4.96.0/19       2/8192
app-beta-us-east-1b                  10.4.128.0/19       2/8192
app-beta-us-east-1c                  10.4.160.0/19       2/8192
dmz-alpha-us-east-1a            10.4.192.0/22       2/1024
dmz-alpha-us-east-1b            10.4.196.0/22       2/1024
dmz-alpha-us-east-1c            10.4.200.0/22       2/1024
dmz-beta-us-east-1a                  10.4.204.0/22       2/1024
dmz-beta-us-east-1b                  10.4.208.0/22       2/1024
dmz-beta-us-east-1c                  10.4.212.0/22       2/1024
db-alpha-us-east-1a                  10.4.216.0/23       2/512
db-alpha-us-east-1b                  10.4.218.0/23       2/512
db-alpha-us-east-1c                  10.4.220.0/23       2/512
db-beta-us-east-1a                  10.4.222.0/23       2/512
db-beta-us-east-1b                  10.4.224.0/23       2/512
db-beta-us-east-1c                  10.4.226.0/23       2/512
admin-us-east-1a                  10.4.228.0/24       2/256
admin-us-east-1b                  10.4.229.0/24       2/256
admin-us-east-1c                  10.4.230.0/24
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.