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

I recently migrated a Windows Server 2008 R2 Terminal Server to AWS.

Everything seems to be working properly except for printer redirection.  I've tried from numerous clients such as Windows 7, 10 and another Server 2008 R2 machine and printers will not redirect from the local client.

RDS role is installed, licensing is configured properly and I've tried to enable / disable Easy Print to no avail.

It seems like a number of other people have experienced issue on AWS, but there doesn't seem to be a clearly defined solution.

Any assistance or ideas would be appreciated.
0
Python 3 Fundamentals
LVL 12
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.

Hi there, I need some help with creating a folder structure in Artifactory which is installed on an ECS cluster within an redhat server ec2 instance.this is my first time doing this and I have been a bash script file which creates the necessary folders...my question is,how do I make sure I run this bash script file correctly and how do I check afterwards that it has been successful created using the web UI or command line... thanks in advance for your help.
0
This short article aims to teach you how to create a Docker image, as well as set up a basic LAMP Stack.
0
I need to copy a file from one Ubuntu server to another.

They are two servers in the same AWS VPC and are in the same Public Subnet. They are both running Ubuntu (Ubuntu 14.04.5 LTS and Ubuntu 18.04.1 LTS, respectively).

I've opened up the Security Group for BOTH Server using Port 22. I also confirmed that openSSH is running by using this command "ps -A | grep sshd" and seeing process ID's.

I created a Text file for testing.

Here's the command I used to copy between servers:

scp ubuntu@**.*.**.***:/usr/local/thomtesttext.txt ubuntu@**.*.**.***:/usr/local/testtext.txt

Open in new window


This is the error I'm seeing:
ssh: connect to host **.*.**.*** port 22: Connection timed out

Open in new window


What am I doing wrong? How can I get an AWS Ubuntu Server to copy files between them?

Thanks for your help!
0
Dear Experts,

Can we configure AWS CloudWatch to do the following monitoring roles?

1. Disconnection of instance to customer firewall as we configured VPC connection
2. Server instance suddenly shuts down or restarts unexpectedly.
0
Dear Experts,

I have done a 12 hour snapshot a day for the AWS instance.

Is there any way to move the snapshot to S3 Bucket using GUI only.

Can incremental backups be done for AWS instance other than snapshots?

Is there anyway to do a weekly backup of the same instance?
0
I want to modify EC2 Instances based on AWS Tags

For example instead of doing this

aws ec2 modify-instance-attribute --instance-id i-0035105226cbb39e0 --instance-type t2.small


I could like to do something like this
aws ec2 modify-instance-attribute --tag testservers --instance-type t2.small


Is this possible? I noticed that the documentation did not have an option to call Tags! You must be able to do this. What am I am missing. Thanks

https://docs.aws.amazon.com/cli/latest/reference/ec2/modify-instance-attribute.html
0
I want Ansible to run through a list of EC2 Instances and perform and AWS Command. I am able to do this with server at a time but cannot get it to do a list

---
- hosts: "tag_tool_ansible"
  connection: "local"
  gather_facts: false
  vars:
    ec2_instance_type: "t2.small"
    ec2_id:
       "i-0035105226cbb39e0"
       
  tasks:
  - name: some command
    command: aws ec2 modify-instance-attribute --instance-id {{ec2_id}} --instance-type {{ec2_instance_type}}



However as soon as I add a second server it fails

---
- hosts: "tag_tool_ansible"
  connection: "local"
  gather_facts: false
  vars:
    ec2_instance_type: "t2.small"
    ec2_id:
       "i-0035105226cbb39e0"
       "i-06608e259685b0db7"
  tasks:
  - name: some command
    command: aws ec2 modify-instance-attribute --instance-id {{ec2_id}} --instance-type {{ec2_instance_type}}


How can I reference a Var that is a list of servers without trying to configure ansible roles?
Note I the variables are coming from AWS Dynamic Inventory as I run the command as so

ansible-playbook -i ../ec2.py t2micro_to_small_list.yml
0
Hello all,
        Our company is just getting into AWS and we are trying to run security reports across multiple Account IDs that the company has (to list users etc.)
When I run <aws iam get-account-authorization-details> i am able to see the users on the account i am signed in on.
         My question , is there a way yo retrieve the info across multiple Account IDs using a similar CLI method?


Thank you for your time,
0
I have two EC2 Instances with AMI's created.  I want to restore an AMI into a different availability zone, then place it in a new VPC.  I am having some trouble finding the availability zone when restoring.  Is this possible?  The end goal is to move a EC2 instance into a VPC in a different availability zone.
To be clear...I want to move from Ohio to Northern Virginia.
0
Become a CompTIA Certified Healthcare IT Tech
LVL 12
Become a CompTIA Certified Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

I want to write a C# Console App that connects to the aws api gateway to retrieve information about various objects in my aws account.

Where do I get the AWS Toolkit for Visual Studio?

This page seems like it should have the answer to this question, but it doesn't:

https://aws.amazon.com/visualstudio/

Thanks in advance for any and all help.
0
Regarding in AWS, Security group rule issue,

We have created security group and associated with EC2 Instance. In that security group rule we mentioned source as another security group(for example SG-12345) however the access it is not working but in that rule if we add source as particular IP Address or subnet it is working. We do not know what is the issue and why it is not working if we add source as another security group.

Please help me to suggest and fix the issue. Please do the needful.

Thank You
0
Is there a S3 API that can help me measure the time it takes for replication across two data centers?

I am trying to read the metadata (REPLICATED, PENDING, etc) to measure  the time. But the status always returns null to me.

Does this work only with CRR?
0
I have a Windows Server 2008 R2 server that is configured as an RDS server.  It was a physical box on site and we recently migrated it to AWS.

Everything seems to work fine since the migration to AWS aside from printer redirection.  

I have confirmed that printing is configured properly on the RDP configuration, the spooler is running and the server has the correct drivers installed for each printer.  I have confirmed Easy Print is turned on and that redirection is configured in the RDP client.  The server is joined to the domain and has a secure connection to AD.  Easy Print is enabled, but I have tried disabling it to no avail.

I've read about other people having issues with printer redirection on AWS.  Any help or suggestions would be greatly appreciated.
0
HI Experts,
could you please guide me on various resources available on exploring AWS architectures. I'm interested in things around devops, aws, terraform, mesos, containers, kubernetes etc.

1. Basically would like to understand how others have implemented a solution using various aws services rather than starting from scratch.
https://aws.amazon.com/this-is-my-architecture/

2. Also available resources where we can explore and get hands on experience like
https://qwiklabs.com/ 

Thanks in advance
0
Can you change an EC2 Instance type with Ansible?


I know I can use the AWS CLI to change instance type but I am hoping I can use Ansible instead. However, it does not appear that modifying an instance type is an option.

https://docs.ansible.com/ansible/latest/modules/ec2_module.html

I could be reading the docs incorrectly can I get a second opinion?  Thanks
0
I am running Ubuntu 14.04.5 LTS in Amazon Web Services with an Elastic IP and an inbound connection for my Static IP.

I need to simply copy files from Ubuntu (Ubuntu 14.04.5) to my local mac (running OS 10.14.2) and then copy them back, both using a Terminal window and SSH.

I've tried scp, but can't seem to get the command correct as the error I'm getting is:

"ssh: connect to host **.*.**.*.** port 22: Connection timed out" (This IP is the Elastic IP).

What am I doing wrong? Help! Thanks in advance. :-)
0
Hello,

I am trying to import a SQL file dumped using MySQL administrator from v5.5.12, first using MysQL8 on Windows 10 then using 5.6.41 on AWS/RDS, the error using MySQL Workbench 8 is:

15:25:12 Restoring C:\path\sql\sqlfile.sql
Running: mysql.exe --defaults-file="c:\users\users\appdata\local\temp\tmpyzknop.cnf"  --protocol=tcp --host=awsendpoint.rds.amazonaws.com --user=myuser --port=3306 --default-character-set=utf8 --comments --database=mysql  < "C:\\Users\\users\\OneDrive\\Documents\\sqlfile.sql"
ERROR 1044 (42000) at line 21: Access denied for user 'myuser'@'%' to database 'mysql'

Operation failed with exitcode 1
15:25:17 Restoring C:\Users\abell\OneDrive\Documents\\sqlfile.sql
Running: mysql.exe --defaults-file="c:\users\user\appdata\local\temp\tmpvhirjz.cnf"  --protocol=tcp --host=awsendpoint.rds.amazonaws.com --user=myuser --port=3306 --default-character-set=utf8 --comments --database=mysql  < "C:\\Users\\user\\OneDrive\\Documents\\sqlfile.sql"
ERROR 1045 (28000): Access denied for user 'myuser'@'123.456.78.9' (using password: NO)

Operation failed with exitcode 1

I've established that the username and password with which I logged on to AWS.RDS via Workbench is the master user for this instance, BUT I also notice it doesn't have DBS and maintenance perms and I am not sure if these are required or how to set them from AWS dashboard ? or how to create a new user for the existing RDS instance MYSQL as permission is denied using the …
0
AWS - two questions pertaining to AWS, or hosted services.  First off, I am trying to get an idea if AWS is a cost effective hosting replacement solution for small business where in house they have anywhere from 1-6 servers, from a cost perspective.  I took a peak at some of the sizing tools for AWS, but not clear on how I would assess throughput, if all daily functions were moved to AWS.  Would you also move all infrastructure servers and clients would authenticate to DCs in the cloud?  I am not sold on this at all, but it makes absolute sense to know the pros and cons.  From a control and cost and security perspective it probably still makes more sense to go with in-house servers for small business, but need to confirm.


Secondly - what is the best way to get familiar with AWS, for small Windows environments, trying to see if it makes sense from a business continuity stand point. For example, currently using Veeam to replicate all VMs to another remote host, so if we lose site A, we can spin everything up within minutes.  Any thoughts on best way, to get a good understanding of AWS?

Thanks guys!!!
Licompguy
0
OWASP: Threats Fundamentals
LVL 12
OWASP: Threats Fundamentals

Learn the top ten threats that are present in modern web-application development and how to protect your business from them.

Hi Experts

Could you give me any directions on how to sincronyze an AWS NoSQL-MongoDB table with a MS-SQLServer table located on a private cloud?

The tables must to have a real time sincronyzation.

My first idea is to do that by using a PHP web service.

Thanks in advace
0
I'm currently in the process of migrating one of my clients to AWS and am looking for assistance in configuring their DC in the cloud.

The DC has already been moved, but what changes will I have to make in order for it to start accepting logons in the cloud.

I'm assuming the SRV record may have to be and I may have to create a new site in AD Sites & Services.

If someone could provide some guidance I would greatly appreciate it.
0
Hey All, Need some advise:

What’s the correct way of licensing Visual Studio and other licensed development tools when running on an EC2 instance and cloning them for any new instances? Right now, there are 5 developers with a Visual Studio 2017 licence and they login to their respective Ec2 instance where each developer has a Visual studio license. Now the scenario is:

If new VM’s need to be created, current process is basically creating an Instance from a Base AMI which has got all of these development tools installed with a generic license and then manually entering new license info.

Is there a way that any new VM created can de-associate previous license and enter new license or does it have to be done manually. terraform is being used to spin up these instances.
0
Hello

I have setup MySQL 4.6.x on AWS, and created a new DB schema to receive data from a SQL file created using MySQL DUMP.  Using MySQL Workbench 8.0 CE I can establish a connection, but when I import the data (it seems to start with password-yes then switch to password-no after first failure exit code 1) I get the following error:

ERROR 1044 (42000) at line 21: Access denied for user 'admin'@'%' to database 'mysql'

If it is relevant the SQL file was dumped with a different admin account/password on a different SQL box.

I've looked at a lot of articles and believe this is related to logins/perms but I am mostly good with data rather than sysadmin so any help getting started greatly appreciated...

The full error text is..

box1.ap-southeast-1.rds.amazonaws.com
14:26:34 Restoring C:\Program Files\MySQL\MySQL Server 8.0\bin\yfsql.sql
Running: mysql.exe --defaults-file="c:\users\user\appdata\local\temp\tmpgq7exl.cnf"  --protocol=tcp --host=box1.ap-southeast-1.rds.amazonaws.com --user=admin --port=3306 --default-character-set=utf8 --comments  < "C:\\Program Files\\MySQL\\MySQL Server 8.0\\bin\\sql.sql"
ERROR 1044 (42000) at line 21: Access denied for user 'admin'@'%' to database 'mysql'

Operation failed with exitcode 1
14:26:55 Restoring C:\Program Files\MySQL\MySQL Server 8.0\bin\yfsql.sql
Running: mysql.exe --defaults-file="c:\users\user\appdata\local\temp\tmpjzz_nr.cnf"  --protocol=tcp --host=box1.ap-southeast-1.rds.amazonaws.com --user=admin
0
Hi,

I am looking into purchasing AWS dedicated hosts for licensing reasons. I am assuming that when the hardware running a Dedicated Host fails, all instance hosted on it also fail. Does anyone know what happens in this event?

Thanks,
Adrian
0
Have an S3 bucket. I have made a file in this public. In fact I have made it public twice.. However access is still denied. Why would that be?
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.