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

How can I confirm if an AWS instance is being billed as Windows Base or Windows with SQL?

This is not a question on finding out if SQL is installed; we have instances of Windows Base that we did our own SQL installation. I want to know how it is seen by AWS billing.
0
JavaScript Best Practices
LVL 13
JavaScript Best Practices

Save hours in development time and avoid common mistakes by learning the best practices to use for JavaScript.

I've created a test EC2 instance and have chosen Linux as my image.  I am successfully SSH'd into that box currently but would like to launch an actual GUI.  I'm not well versed in the AWS Dashboard, where do I go to do this or are all EC2 instances only available via the CLI?
0
Hi
I'll receive a sales call in 40 minutes from godaddy, concerning 'godaddy web services.'
It was unexpected, but I set it up, cause I knew I could ask EE if there's any chance it's worth getting?
I know Amazon web Services is recommendable, and Godaddy is for light-wight stuff.
I had a blog 8 years ago that seemed capable/ adequate - broke Adsense payment barrier.

Anyway,
Can Godaddy do what I'll need for an online phone game, EVEN an un-intense traffic eg like wordscapes.io or Drag 'n merge or words w friends or Candy Crush? are they un-intense? But, how about slither.io? Could I start off small? Is godaddy mainly for websites?

Thanks
0
I have placed some test servers in AWS as a DR solution.

I have setup a site to site VPN from my HQ to my AWS VPC. I have having an issue that I can "telnet server A 445" but I cannot \\ServerAIPaddress\c$\.

I have looked at this issue with my firewall vendor and they do not see any issues with the traffic leaving or coming into the firewall. I have opened a case with AWS and they do not see any issues with the configuration in AWS. They are seeing that my local machines are resetting the TCP handshake.

There is only 1 server at my HQ which connects without fail. My primary Domain Controller. My secondary DC cannot connect either. I am not sure what I may be missing. Any help is appreciated.
0
I am trying to find out what are my best bets to setup a cloud facing server (AWS, Azure on any other "reasoanble" provider)  that would have a number of public IP and a VPN to my local network.
At the moment we have an internet connexion with /29 static IP space but this is getting a bit "tight" and is also fairly costly from our ISP.
I think we should rather use a cloud server and tunnel the traffic to our local connection (possibly keeping a few local IP as contingency).
Our requirements:
  • 8 static Ip with some "easy" way to grow if / when needed
  • IPs in Europe
  • 100 Mb symmetric connectivity (we don't need more) with say 1Tb traffic/month (probably significantly less than that)
  • possibility to set up an IDP/IDS on / around the box (as an extra option)
  • obviously good price and reliability
What would be my best bet in setting up this (both in terms of the underlying OS and provider)? I was thinking of running a pfSense VM in AWS but I happy to read your suggestions
0
I am just curious what customers services to offer to customers who are migrated to the Cloud (AWS and Azure).  Some examples might be Cloud Alerts Monitoring, Security Controls such as Security Assessment/Hardening..etc.
0
Hello all, I am new to using AWS, I have experience using it but have not gone full throttle.

I am trying to set up an existing S3 bucket to not allow deletes from a user that does not have MFA.  I have seen some examples on how to do this but found them to be a little confusing.

Does anyone have a clear example for a dummy like me on how to set this up?
0
Hello Experts,

 I'm writing a C# program which insert huge data to Amazon Redshift table (one table).
I've wrote a loop over the  DataTable then insert a row by row to the table, This solution is OK but takesa lot of time if we talking about 1M rows.
The DataTable structure & the Redshift table are similar

Can you please help bulk insert the table to Redshift ?

Thanks,
 Jamil
0
AppRobotic RPA - Robotic Process Automation & Macros Feedback
0
How do i download SAML Metadata document? when i try to use this URL https://my1.example.com/FederationMetadata/2007-06/FederationMetadata.xml is shows unavailable or running out of internet on that page.
0
CompTIA Network+
LVL 13
CompTIA Network+

Prepare for the CompTIA Network+ exam by learning how to troubleshoot, configure, and manage both wired and wireless networks.

I would like to understand the CPU behavior of a linux instance I have running in AWS. This is a LAMP stack where I followed chapter-and-verse the Amazon Linux setup.

I'm noticing that at certain times of the day, there is more CPU utilization that others. Question 1: What is the best way to determine those spikes?

I've been using the "top" command to see the processes when I 'catch' the server spiking, but it moves so fast that I hardly can copy the text. Question 2: Is there a way to manipulate the "top" command so that I can see a measurable aggregate of processes running on the server? If so, can I adjust this for, say, 24 hours or 48 hours?

Question 3: Could traffic or bots be causing a CPU spike? Is there an easy way to tell how many users are on a website at a given moment?

I do have a cron job running every five minutes, which is for Amazon's CloudWatch service (a monitoring service for AWS), but it's small and I do not suspect it as a culprit.

Thanks for your help and patience as I learn more about Linux CPU Utilization.

...
0
The text to speech does not register the first word inputted using Amazon Polly.

The staff member has tried this in every browser.  He is using Windows 10.  We have tried the same service on another Windows 10 machine.  He had no issues using this until he got a new PC with Windows 10.
0
I have a plesk server that I would like to move to AWS. I'm currently on a cloud server with 8 cpus and 32 gb of ram.

I have about 50 sites and plan to triple that soon.

I'd like to know the best way to set this up on AWS.

My current idea is to setup one server with the same specs I mentioned that runs the crons and the database. (May just get the RDS as well here)

Then Setup smaller instances (say 4 cpus and maybe 8 gb ram) for load balancing. So the smaller instances would have plesk and all the files replicated as needed.

The issue comes in on the best way to do the load balance. My thought is to just use the EFS setup and just mount the protected directories in the EFS partition.

So
/opt/psa
/var/lib/mysql
/var/www/vhosts
/var/qmail/mailnames
/var/named/run-root

Put those on an EFS and then they would all be mounted on each server that fires up. This way all of the settings should be pulled from the EFS and I shouldn't have to worry about each instance.

So all the sites pull from the RDS and EFS and I have one decent server that takes care of the heavy lifting of cron jobs.

I know plesk has a multi server option, but that means I have to have dedicated instances up at all times and it's not the same as load balancing.

Any thoughts?
0
I'm using AWS linux, apache 2.4.25, PHP 7.0.27, phpMyAdmin 4.7.7, FireFox 68.

For security, I kept/changed/added the following lines in httpd.conf to prevent browser access to .php and .inc.php but full browser access to .menu.php and index.php ..

I kept ..
<Directory "/var/www">
    AllowOverride None
    # Allow open access:
    Require all granted
</Directory>

Open in new window

I changed from None to All ..
# Further relax access to the default document root:
<Directory "/var/www/html">
    Options Indexes FollowSymLinks
    AllowOverride All
    Require all granted
</Directory>

Open in new window

And added ..
<Files *.php>
    Require all denied
    Require local
</Files>

# Browser & linux allowed access to .php files
<Files index.php>
    Require all granted
</Files>

 # Browser denied access to .inc.php files
 # linux allowed access to .inc.php files
<Files *.inc.php>
    Require all denied
    Require local
</Files>

# All menu files have this added name before the extn
# Browser & linux allowed access to .menu.php files
<Files *.menu.php>
    Require all granted
</Files>

Open in new window

My website app works perfectly. However, phpMyAdmin fails with 403 errors since I changed the above.

The directory structures ..
For the website: /html/appdirectory/index.php
For PMA: /html/phpMyAdmin/index.php

Since both index.php are allowed browser access through the above index.php granting, I don't understand why it should 403.
When I refer to Page Source in FF, it shows the HTML, yet doesn't render.

Chrome responded identically, and shows in dev tools, console ..

Open in new window

0
1. I'm running an EC2 virtual windows instance on AWS. I installed the SSL certificate on the IIS server.  I can get to the IIS server with http and https, however i need the site to display secured by default.  so if your typing http://domain.com it will default it to https://domain.com:9000 .    
2. When I type http://domain.com:9000 I can get to the site application however id I type https://domain.com:9000 the site can't be reached.  On AWS I believe part of the issue may be the AWS security group and or windows firewall on the virtual server or is it a CNAME entry that i need to configure between godaddy and AWS?
0
Hello,  We have a 10G Direct Connect to AWS.  We recently deployed AWS Storage Gateway on premise and we have presented volumes from it to a local VM on premise as well.   We have all of our private VPCs routing across the Direct Connect, but the on premise SG data traffic goes out to the public S3 end-points via our standard Internet connection.  

I guess the question is, how do we route the traffic from our on premise Storage Gateway to the AWS Public Endpoints over the Direct Connect.   The Network Engineer we have contracted seems to be confused as to how to do it, and so far has not had any luck, or has been reluctant to call AWS support for whatever reason.

I was thinking that the routing would be handled through the existing BGP session on the Direct Connect by either filtering based on AS or perhaps using Communities and the redistributed into our internal routing with a proper local pref, etc.   I've been out of networking for about two years so may be talking out my butt here.

Any info or pointers to a cookbook, etc would be greatly appreciated.

Thank you.
0
So i have strange situation when automating windows 2016 in AWS.  I have this instance that has 14 disks.   After after joining the domain after the second reboot, it reboots for the 3rd time and when it does it, i get a terminating error saying that the server has rejected the credentials.  Log onto the instance and run the same code, there is no issue.

This code below runs on every reboot and i get the "server rejected the credentials error" on the 3rd reboot

$DomainInfo = Get-ADDomain -Server $DnsAddress1 -Credential $Cred -ErrorAction Stop

The code that sets the credentials

$Username = $NamePrefix+"-stkdjn@$DomainName"
$Pass = ConvertTo-SecureString $DecryptedPasswword -AsPlainText -Force
$Cred = New-Object System.Management.Automation.PSCredential -ArgumentList $Username,$Pass

I am automating other 2016 instances using the same code that have only 1 single disk and have no issue.
0
The Sonos One smart speaker worked fine, responding to speech instructions, until the user installed both the Alexa and Sonos apps on his PC. The Sonos app could control the speaker, but the Alexa app only controlled the laptop he used. Even when the both apps were closed, the Sonos speaker no longer responded to voice commands. I suppose unplugging and re plugging the speaker would restore its function, but I'd like to know if there's another way to do this using software commands.
0
I am going to a large hotel that blocks vpns. If I connect to my aws workspace via web access (browser access) is there any security risks or implications?
0
Exploring SQL Server 2016: Fundamentals
LVL 13
Exploring SQL Server 2016: Fundamentals

Learn the fundamentals of Microsoft SQL Server, a relational database management system that stores and retrieves data when requested by other software applications.

Hi Techies ,

Any suggestions on “How can we get the inventory of all accounts and respective resources running in AWS Environment ,Currently we have 100+ Accounts .

Please suggest .
0
Hi,

  aws efs mounted (nfs 4) on rhel 7.4.  On my machine, I have ~10 mounts. How do I find whether it is efs mounted from us-east-1 or other mounts?  Is there any function or systemcall to find out from c or c++? Already tried with statvfs and statfs calls.

Thanks,
Bvm
0
I am trying to use Python and Boto3 to report on installed patches on a instance, I am just using some simple code like that at the moment to test on a single instance. but when i try and run it i get a python error 'OverflowError: date value out of range'

import boto3
import datetime
client = boto3.client('ssm')

response = client.describe_instance_patches(
    InstanceId='Instance ID'
)

print response
0
Hi,

I'm having an issue get the Base64 HMAC on Amazon MWS correctly, I can get the SHA256 one to match perfectly but when I then try to convert to Base64 the result is incorrect, the code I am using to do the SHA256 part is as below

Dim lngLoop As Long
Dim oUTF, oEnc
Dim HMAC() As Byte
Dim strTemp As String
Set oUTF = CreateObject("System.Text.UTF8Encoding")
Set oEnc = CreateObject("System.Security.Cryptography.HMACSHA256")
oEnc.Key = oUTF.GetBytes_4("--------------")
HMAC = oEnc.ComputeHash_2(oUTF.GetBytes_4(StringToSign))
For lngLoop = 0 To UBound(HMAC)
     strTemp = strTemp & LCase(Right("0" & Hex(HMAC(lngLoop)), 2))
Next

Open in new window


But I believe this has be passed to the Base64 encoder as binary or a byte, but i'm having trouble converting a string in Access to a Byte? Is there an easy way to do this?

Cheers
Karl
0
Hello,

We host an application (Moodle 2.9) as follows;
Aurora RDS for database
Cloudfront + ALB + Traget Groups (Linux m5-large 4.14.123-86.109.amzn1.x86_64) + mounted EFS for data. Load average of the EC2 instances jumps to 2+ during high EFS activity.

In the EC2 instances; CPU/MEM utilisation is below 20%
EFS percent i/o limit around 10%
Plenty of burst credit available.

Where could be the problem?

Thanks
0
Hi
We use aws EC2 instances in our office, sometimes forget to detach security group from instance which is business requirement. Is there anyway to find out who have added the security group and when?
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.